Node

class polyglotdb.query.annotations.attributes.base.Node(node_type, corpus=None, hierarchy=None)[source]

Methods

__init__(node_type[, corpus, hierarchy]) Initialize self.
filter_by_subset(*args) adds each item in args to the hierarchy type_labels
for_json()
for_match()
filter_by_subset(*args)[source]

adds each item in args to the hierarchy type_labels