Dependency feature extractor for embeddings¶
Path | pimlico.modules.embeddings.dependencies |
Executable | yes |
Todo
Document this module
Inputs¶
Name | Type(s) |
---|---|
dependencies | TarredCorpus<CoNLLDependencyParseDocumentType> |
Outputs¶
Name | Type(s) |
---|---|
term_features | TermFeatureListCorpus |
Options¶
Name | Description | Type |
---|---|---|
lemma | Use lemmas as terms instead of the word form. Note that if you didn’t run a lemmatizer before dependency parsing the lemmas are probably actually just copies of the word forms | bool |
condense_prep | Where a word is modified ...TODO | string |
term_pos | Only extract features for terms whose POSs are in this comma-separated list. Put a * at the end to denote POS prefixes | comma-separated list of string |
skip_types | Dependency relations to skip, separated by commas | comma-separated list of string |