#NEWLINE# def append( self , word , lemma = None , type = None , chunk = None , role = None , relation = None , pnp = None , anchor = None , iob = None , custom = { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } ) : #NEWLINE# #INDENT# ' Appends the next word to the sentence / chunk / preposition.\n            For example: Sentence.append("clawed", "claw", "VB", "VP", role=None, relation=1)\n            - word     : the current word,\n            - lemma    : the canonical form of the word,\n            - type     : part-of-speech tag for the word (NN, JJ, ...),\n            - chunk    : part-of-speech tag for the chunk this word is part of (NP, VP, ...),\n            - role     : the chunk\'s grammatical role (SBJ, OBJ, ...),\n            - relation : an id shared by other related chunks (e.g., SBJ-1 <=> VP-1),\n            - pnp      : PNP if this word is in a prepositional noun phrase (B- prefix optional),\n            - iob      : BEGIN if the word marks the start of a new chunk,\n                         INSIDE (optional) if the word is part of the previous chunk,\n            - custom   : a dictionary of (tag, value)-items for user-defined word tags.\n        ' #NEWLINE# self . _do_word ( word , lemma , type ) #NEWLINE# self . _do_chunk ( chunk , role , relation , iob ) #NEWLINE# self . _do_conjunction ( ) #NEWLINE# self . _do_relation ( ) #NEWLINE# self . _do_pnp ( pnp , anchor ) #NEWLINE# self . _do_anchor ( anchor ) #NEWLINE# self . _do_custom ( custom )