Module ImportFrom alias alias alias ImportFrom alias ImportFrom alias ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str If CompareNotIn NameLoad NameLoad body Assign SubscriptStore NameLoad Index NameLoad ListLoad Expr Call AttributeLoad SubscriptLoad NameLoad Index NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Return Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body ImportFrom alias Assign NameStore Call NameLoad Assign NameStore AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Num Str For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body For NameStore GeneratorExp NameLoad comprehension NameStore Call AttributeLoad NameLoad attr CompareNotEq SubscriptLoad NameLoad Index Str Str body If CompareEq SubscriptLoad NameLoad Index Str NameLoad body Assign NameStore SubscriptLoad NameLoad Index Str Expr Call AttributeLoad SubscriptLoad NameLoad Index Str attr NameLoad ListLoad Expr Call AttributeLoad SubscriptLoad SubscriptLoad NameLoad Index Str Index NameLoad attr SubscriptLoad NameLoad Index Str Assign AttributeStore NameLoad attr SubscriptLoad NameLoad Index Num Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad SubscriptLoad NameLoad Index NameLoad attr Dict Str Str Str Str Str NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Num SubscriptLoad AttributeLoad NameLoad attr Index Num NameLoad NameLoad For NameStore Call NameLoad NameLoad body For NameStore Call NameLoad SubscriptLoad NameLoad Index NameLoad body If Call NameLoad NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad orelse If Call NameLoad NameLoad NameLoad body Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad SubscriptLoad NameLoad Index NameLoad attr Dict Str Str Str Str Str NameLoad SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num NameLoad NameLoad orelse If Call NameLoad NameLoad NameLoad body For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad orelse Raise Call NameLoad BinOpMod Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad NameLoad body If UnaryOpNot NameLoad body Assign NameStore Call NameLoad If CompareIn Call AttributeLoad SubscriptLoad NameLoad Index Str attr ListLoad Str Str body Return TupleLoad SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str orelse Assign NameStore Call NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Assign TupleStore NameStore NameStore TupleLoad SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str If CompareEq SubscriptLoad NameLoad Slice Num Str body If CompareEq SubscriptLoad NameLoad Slice Num Num Str body Expr Call AttributeLoad NameLoad attr Str TupleLoad Str Str Assign AttributeStore NameLoad attr TupleLoad NameLoad SubscriptLoad NameLoad Slice Num If UnaryOpNot AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr TupleLoad NameLoad NameLoad Assign NameStore ListComp SubscriptLoad AttributeLoad NameLoad attr Index NameLoad comprehension NameStore Call NameLoad Call NameLoad Call AttributeLoad SubscriptLoad NameLoad Index Str attr ListLoad For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad Return NameLoad decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore SubscriptLoad ListLoad Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Index BinOpSub NameLoad Num Assign NameStore BinOpFloorDiv Call NameLoad NameLoad Num If CompareGt NameLoad Num body Return BinOpAdd NameLoad Call NameLoad NameLoad orelse Return NameLoad decorator_list NameLoad FunctionDef arguments args NameParam defaults body Return Call AttributeLoad Call AttributeLoad NameLoad attr attr Str Str decorator_list FunctionDef arguments args NameParam defaults body Return Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults Num body TryExcept body Assign NameStore BinOpMod Str AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad body Assign NameStore Str TryExcept body AugAssignAdd NameStore BinOpMod Str SubscriptLoad AttributeLoad NameLoad attr Index Num handlers ExceptHandler type NameLoad body Pass For NameStore Call NameLoad NameLoad body For NameStore SubscriptLoad NameLoad Index NameLoad body If Call NameLoad NameLoad NameLoad body Assign NameStore BinOpAdd BinOpAdd BinOpAdd NameLoad Call NameLoad NameLoad Num Call NameLoad AttributeLoad NameLoad attr AugAssignAdd NameStore BinOpMod Str TupleLoad BinOpMult Str NameLoad NameLoad Call AttributeLoad NameLoad attr NameLoad orelse If Call NameLoad NameLoad NameLoad body AugAssignAdd NameStore BinOpMod Str TupleLoad BinOpMult Str NameLoad NameLoad SubscriptLoad NameLoad Index Num orelse If Call NameLoad NameLoad NameLoad body AugAssignAdd NameStore BinOpMod Str TupleLoad BinOpMult Str NameLoad NameLoad Call AttributeLoad BinOpMod Str BinOpMult Str BinOpAdd BinOpAdd NameLoad Call NameLoad NameLoad Num attr NameLoad orelse Raise Call NameLoad BinOpMod Str NameLoad Return BinOpAdd NameLoad Str decorator_list decorator_list NameLoad FunctionDef arguments args defaults body ImportFrom alias Assign NameStore Call NameLoad Str Assign NameStore Call NameLoad Str Assign NameStore Call NameLoad Str Assign NameStore Call NameLoad Str Assign NameStore ListLoad NameLoad NameLoad NameLoad NameLoad For NameStore NameLoad body Expr Call NameLoad Call AttributeLoad NameLoad attr NameLoad decorator_list If CompareEq NameLoad Str body Expr Call NameLoad
N/A __future__ print_function division unicode_literals nltk.internals Counter nltk.compat python_2_unicode_compatible FStructure N/A dict N/A safeappend N/A N/A self key item N/A N/A N/A 
        Append 'item' to the list at 'key'.  If no list exists for 'key', then
        construct one.
         N/A N/A key self N/A N/A N/A self N/A key N/A N/A N/A N/A N/A self N/A key append item N/A __setitem__ N/A N/A self key value N/A N/A N/A N/A N/A dict __setitem__ self N/A N/A key lower value N/A __getitem__ N/A N/A self key N/A N/A N/A N/A N/A dict __getitem__ self N/A N/A key lower N/A __contains__ N/A N/A self key N/A N/A N/A N/A N/A dict __contains__ self N/A N/A key lower N/A to_glueformula_list N/A N/A self glue_dict N/A N/A N/A depgraph N/A N/A self to_depgraph N/A N/A N/A glue_dict to_glueformula_list depgraph N/A to_depgraph N/A N/A self rel N/A None N/A nltk.parse.dependencygraph DependencyGraph N/A depgraph N/A DependencyGraph N/A nodes N/A depgraph nodes N/A N/A N/A self _to_depgraph nodes 0 ROOT N/A N/A address node N/A N/A nodes items N/A N/A n2 N/A n N/A n N/A N/A nodes values N/A N/A n N/A rel TOP N/A N/A N/A N/A n2 N/A head address N/A N/A relation N/A n2 N/A rel N/A N/A N/A N/A node N/A deps setdefault relation N/A N/A N/A N/A N/A N/A node N/A deps N/A relation append N/A n2 N/A address N/A N/A depgraph root N/A nodes N/A 1 N/A depgraph N/A _to_depgraph N/A N/A self nodes head rel N/A N/A N/A index N/A len nodes N/A N/A N/A N/A nodes N/A index update N/A address word tag head rel index N/A N/A self pred N/A 0 N/A N/A self pred N/A 1 head rel N/A feature N/A sorted self N/A N/A item N/A sorted N/A self N/A feature N/A N/A N/A isinstance item FStructure N/A N/A N/A N/A item _to_depgraph nodes index feature N/A N/A N/A isinstance item tuple N/A N/A new_index N/A len nodes N/A N/A N/A N/A nodes N/A new_index update N/A address word tag head rel new_index N/A item N/A 0 N/A item N/A 1 index feature N/A N/A N/A isinstance item list N/A N/A n item N/A N/A N/A N/A n _to_depgraph nodes index feature N/A N/A N/A Exception N/A feature %s is not an FStruct, a list, or a tuple feature N/A read_depgraph N/A N/A depgraph N/A N/A N/A N/A N/A FStructure _read_depgraph N/A depgraph root depgraph N/A staticmethod _read_depgraph N/A N/A node depgraph label_counter parent N/A None None N/A N/A N/A label_counter N/A N/A label_counter N/A Counter N/A N/A N/A N/A N/A node N/A rel lower N/A spec punct N/A N/A N/A N/A node N/A word N/A node N/A tag N/A N/A fstruct N/A FStructure N/A N/A fstruct pred None N/A N/A fstruct label N/A N/A FStructure _make_label N/A N/A label_counter get N/A N/A fstruct parent parent N/A N/A word tag N/A N/A node N/A word N/A node N/A tag N/A N/A N/A tag N/A 2 VB N/A N/A N/A N/A tag N/A 2 3 D N/A N/A N/A N/A fstruct safeappend tense N/A PAST tense N/A N/A fstruct pred N/A word N/A tag N/A 2 N/A N/A N/A fstruct pred N/A N/A N/A fstruct pred N/A word tag N/A children N/A N/A N/A depgraph nodes N/A idx N/A idx N/A sum N/A list N/A N/A N/A node N/A deps values N/A N/A child children N/A N/A N/A N/A fstruct safeappend N/A child N/A rel N/A N/A FStructure _read_depgraph child depgraph label_counter fstruct N/A fstruct N/A staticmethod _make_label N/A N/A value N/A N/A N/A 
        Pick an alphabetic character as identifier for an entity in the model.

        :param value: where to index into the list of characters
        :type value: int
         N/A letter N/A N/A f g h i j k l m n o p q r s t u v w x y z a b c d e N/A N/A value 1 N/A num N/A N/A int value 26 N/A N/A num 0 N/A N/A N/A letter N/A str num N/A N/A letter N/A staticmethod __repr__ N/A N/A self N/A N/A N/A N/A N/A N/A N/A self __unicode__ replace N/A __str__ N/A N/A self N/A N/A N/A N/A N/A self pretty_format N/A pretty_format N/A N/A self indent N/A 3 N/A N/A N/A N/A accum N/A %s:[ N/A self label N/A N/A N/A NameError N/A N/A accum [ N/A N/A N/A accum N/A pred '%s' N/A N/A self pred N/A 0 N/A N/A N/A NameError N/A N/A N/A feature N/A sorted self N/A N/A item N/A self N/A feature N/A N/A N/A isinstance item FStructure N/A N/A next_indent N/A N/A N/A indent N/A len feature 3 N/A len N/A self label N/A accum N/A 
%s%s %s N/A N/A indent feature N/A N/A item pretty_format next_indent N/A N/A N/A isinstance item tuple N/A N/A accum N/A 
%s%s '%s' N/A N/A indent feature N/A item N/A 0 N/A N/A N/A isinstance item list N/A N/A accum N/A 
%s%s {%s} N/A N/A indent feature N/A N/A N/A 
%s N/A N/A N/A indent N/A len feature 2 join item N/A N/A N/A Exception N/A feature %s is not an FStruct, a list, or a tuple feature N/A N/A accum ] N/A N/A python_2_unicode_compatible demo_read_depgraph N/A N/A N/A N/A nltk.parse.dependencygraph DependencyGraph N/A dg1 N/A DependencyGraph Esso       NNP     2       SUB
said       VBD     0       ROOT
the        DT      5       NMOD
Whiting    NNP     5       NMOD
field      NN      6       SUB
started    VBD     2       VMOD
production NN      6       OBJ
Tuesday    NNP     6       VMOD
 N/A dg2 N/A DependencyGraph John    NNP     2       SUB
sees    VBP     0       ROOT
Mary    NNP     2       OBJ
 N/A dg3 N/A DependencyGraph a       DT      2       SPEC
man     NN      3       SUBJ
walks   VB      0       ROOT
 N/A dg4 N/A DependencyGraph every   DT      2       SPEC
girl    NN      3       SUBJ
chases  VB      0       ROOT
a       DT      5       SPEC
dog     NN      3       OBJ
 N/A depgraphs N/A dg1 dg2 dg3 dg4 N/A dg depgraphs N/A N/A N/A print N/A N/A FStructure read_depgraph dg N/A N/A N/A __name__ __main__ N/A N/A N/A demo_read_depgraph