Skip to content

ParseTree

Mars edited this page Aug 2, 2017 · 2 revisions

Summary

Fields

DataType Name
int NOT_EXIST
int FLAG_NORMAL
int FLAG_DELETE
int FLAG_MERGE
int ROOT_PARENT_ID
int MOOD_IMPERATIVE
int MOOD_INTERROGTIVE
String POS_ADJECTIVE
String POS_ADVERB
String POS_VERB
String POS_NUMERAL
String POS_NOUN
String POS_PROPERNOUN
String POS_PRONOUN
String POS_COORDINATING_CONJUCTION
String POS_SUBORDINATING_CONJUCTION
String POS_ADPOSITION
String POS_AUXILIARY
String POS_DETERMINER
String POS_INTERJECTION
String POS_PARTICLE
String POS_PUNCTUATION
String POS_SYMBOL
String POS_UNKNOWN
String DEP_NOUN_SUBJECT
String DEP_INDIRECT_OBJECTIVE
String DEP_CLAUSE_SUBJECT
String DEP_OBJECTIVE
String DEP_CLAUSAL_COMPlEMENT
String DEP_OPEN_CLAUSAL_COMPLEMENT
String DEP_OBLIQUE_NOMINAL
String DEP_VOCATIVE
String DEP_EXPLETIVE
String DEP_DISLOCATED
String DEP_AUXILIARY
String DEP_COPULA
String DEP_MARKER
String DEP_ADVERB_CLAUSE_MODIFIER
String DEP_ADVERB_MODIFIER
String DEP_NOMINAL_MODIFIER
String DEP_APPOSITIONAL_MODIFIER
String DEP_NUMERIC_MODIFIER
String DEP_CLAUSAL_MODIFIER
String DEP_ADJECTIVE_MODIFIER
String DEP_DISCOUSE
String DEP_DETERMINER
String DEP_CLASSIFIER
String DEP_CASE
String DEP_CONJUNCTION
String DEP_COORDINATING_CONJUNCTION
String DEP_FIXED_MULTIWORD_EXPRESSION
String DEP_FLAT_MULTIWORD_EXPRESSION
String DEP_COMPOUND
String DEP_LIST
String DEP_PARATAXIS
String DEP_ORPHAN
String DEP_GOES_WITH
String DEP_REPARANDUM
String DEP_PUNCTUATION
String DEP_ROOT
String DEP_UNKNOWN
Sparse<Node> mNodeList
int mRootId
long[] time
Mood mood
Direction direction

Public Constructors

Function
ParseTree()

Public Methods

Return Type Function
void setNodeByID(int,node)
void setNodeWordById(int,String)
void setNodeParentId(int,int)
void addChildById(int,int)
void removeChildById(int,ArrayList<Integer>)
Node getRoot()
boolean isConcatenation(Node,Node)
boolean isSubordinate(Node,Node,boolean)
void moodDetection()
void merge()
void merge(Node)
void clearMergedNodes(Node)
boolean isMerge(ArrayList<Node>)
Node getNodeById(int)
void setNodeById()
void reduce(int)
void resolveObjectRelation(int)
void reduce()
void addTag(ArrayList<Tag>,Context)
void addTag(Node,ArrayList<Tag>,Context)
String toString()
ArrayList<ParseTree> split(ParseTree)
Clone this wiki locally