Module Expr Str ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias alias identifier alias alias ImportFrom alias alias identifier ImportFrom alias ImportFrom alias identifier TryExcept body ImportFrom alias handlers ExceptHandler type NameLoad body Expr Call AttributeLoad NameLoad attr Call NameLoad Call NameLoad NameLoad Str Str Str ImportFrom alias TryExcept body ImportFrom alias alias alias handlers ExceptHandler type NameLoad body Expr Call AttributeLoad NameLoad attr Call NameLoad Call NameLoad NameLoad Str ImportFrom alias alias alias Assign NameStore Call NameLoad Str TupleLoad Str Str Str Str Str Str FunctionDef arguments args NameParam defaults body Assign NameStore NameLoad For TupleStore NameStore NameStore TupleLoad TupleLoad Str Str TupleLoad Str Str TupleLoad Str Str TupleLoad Str Str TupleLoad Str Str TupleLoad Str Str TupleLoad Str Str body Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad NameLoad For NameStore Call AttributeLoad Call NameLoad NameLoad attr Str body Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr Str For NameStore Call AttributeLoad NameLoad attr Str body Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr Str Assign NameStore Call NameLoad AttributeLoad Call AttributeLoad NameLoad attr Str attr Assign NameStore Call NameLoad AttributeLoad Call AttributeLoad NameLoad attr Str attr Assign NameStore Call NameLoad AttributeLoad Call AttributeLoad NameLoad attr Str attr Assign NameStore Call NameLoad AttributeLoad Call AttributeLoad NameLoad attr Str attr Assign NameStore Call NameLoad AttributeLoad Call AttributeLoad NameLoad attr Str attr Assign NameStore Call NameLoad AttributeLoad Call AttributeLoad NameLoad attr Str attr Assign SubscriptStore SubscriptLoad NameLoad Index NameLoad Index NameLoad Call NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword Call NameLoad NameLoad keyword NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body For NameStore Call NameLoad GeneratorExp NameLoad comprehension NameStore NameLoad body For NameStore Call NameLoad GeneratorExp NameLoad comprehension NameStore SubscriptLoad NameLoad Index NameLoad body Expr Yield TupleLoad NameLoad NameLoad SubscriptLoad SubscriptLoad NameLoad Index NameLoad Index NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad NameLoad Return ListComp TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr comprehension TupleStore NameStore NameStore NameStore Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad Lambda arguments args defaults TupleLoad BinOpPow Num Num Num For TupleStore NameStore NameStore NameStore Call NameLoad NameLoad body Assign NameStore SubscriptLoad NameLoad Index NameLoad Assign SubscriptStore NameLoad Index NameLoad TupleLoad Call NameLoad AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num Call NameLoad AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num Return Call NameLoad GeneratorExp TupleLoad NameLoad NameLoad comprehension TupleStore NameStore NameStore Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad NameLoad Assign NameStore Num For TupleStore NameStore NameStore NameStore Call NameLoad NameLoad body Assign NameStore Call NameLoad NameLoad AttributeLoad NameLoad attr Assign NameStore Call NameLoad BinOpMult Str NameLoad For TupleStore NameStore NameStore NameStore Call NameLoad NameLoad body Assign NameStore Call NameLoad AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Slice AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad Return Call AttributeLoad Str attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults Num body Assign NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad NameLoad Assign NameStore NameLoad For TupleStore NameStore NameStore NameStore Call NameLoad NameLoad body Expr Yield TupleLoad NameLoad NameLoad Call NameLoad TupleLoad TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr BinOpMod Str NameLoad AttributeLoad NameLoad attr Str AugAssignAdd NameStore Num decorator_list FunctionDef arguments args NameParam NameParam defaults Num body Return GeneratorExp NameLoad comprehension TupleStore NameStore NameStore NameStore Call NameLoad NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults Num body Assign NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad NameLoad Assign NameStore ListLoad Assign NameStore NameLoad Assign NameStore NameLoad For TupleStore NameStore NameStore NameStore Call NameLoad NameLoad body If CompareNotEq AttributeLoad NameLoad attr Str body If CompareIs NameLoad NameLoad body Assign NameStore NameLoad orelse If CompareNotEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore NameLoad orelse Pass orelse If CompareIsNot NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore NameLoad Assign NameStore NameLoad orelse If CompareIsNot NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore NameLoad For TupleStore NameStore NameStore NameStore NameLoad body Expr Yield Call NameLoad TupleLoad TupleLoad NameLoad NameLoad BinOpMod Str NameLoad NameLoad Str AugAssignAdd NameStore Num decorator_list FunctionDef arguments args NameParam NameParam defaults Num body Assign NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Assert CompareEq Call NameLoad NameLoad Num Assign NameStore SubscriptLoad NameLoad Index Num Assign NameStore Call AttributeLoad NameLoad attr Str If UnaryOpNot NameLoad body Raise NameLoad Assert CompareEq Call NameLoad NameLoad Num Assign NameStore SubscriptLoad NameLoad Index Num Assign NameStore NameLoad For NameStore NameLoad body If CompareNotEq AttributeLoad NameLoad attr Str body Continue Assign NameStore ListLoad For NameStore Call AttributeLoad NameLoad attr Str body Assign NameStore Call NameLoad AttributeLoad Call AttributeLoad NameLoad attr Str attr Assign NameStore Call NameLoad AttributeLoad Call AttributeLoad NameLoad attr Str attr Assign NameStore BinOpSub Call NameLoad AttributeLoad Call AttributeLoad NameLoad attr Str attr Num Assign NameStore BinOpMod Str TupleLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AugAssignAdd NameStore Num Expr Yield Call NameLoad TupleLoad TupleLoad AttributeLoad SubscriptLoad SubscriptLoad NameLoad Index NameLoad Index NameLoad attr AttributeLoad SubscriptLoad SubscriptLoad NameLoad Index NameLoad Index NameLoad attr NameLoad Str Str Expr Yield Call NameLoad Str NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str Assert CompareEq Call NameLoad NameLoad Num Assign NameStore SubscriptLoad NameLoad Index Num Assign NameStore Call AttributeLoad NameLoad attr Str Assert CompareEq Call NameLoad NameLoad Num Assign NameStore SubscriptLoad NameLoad Index Num Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults Str body Assign NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad NameLoad For TupleStore NameStore NameStore NameStore Call NameLoad NameLoad body Assign SubscriptStore SubscriptLoad NameLoad Index NameLoad Index NameLoad NameLoad Expr Yield NameLoad Assign NameStore Num For NameStore Call AttributeLoad Call NameLoad NameLoad attr Str body Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad If CompareEq Call NameLoad NameLoad Num body Assign NameStore Call NameLoad GeneratorExp NameLoad comprehension NameStore Call AttributeLoad NameLoad attr Str CompareEq SubscriptLoad AttributeLoad NameLoad attr Index Str NameLoad Assert CompareEq Call NameLoad NameLoad Num Assign NameStore SubscriptLoad NameLoad Index Num For NameStore NameLoad body If CompareNotEq AttributeLoad NameLoad attr Str body Continue Assign NameStore Call AttributeLoad NameLoad attr Str Assert CompareIsNot NameLoad NameLoad If CompareEq NameLoad Str body Continue Assign NameStore Call NameLoad Call AttributeLoad Call AttributeLoad NameLoad attr Str attr Str Assign NameStore Call NameLoad Call AttributeLoad Call AttributeLoad NameLoad attr Str attr Str Expr Yield Call NameLoad BinOpMod Str NameLoad NameLoad Str AttributeLoad SubscriptLoad SubscriptLoad NameLoad Index NameLoad Index NameLoad attr Str AttributeLoad SubscriptLoad SubscriptLoad NameLoad Index NameLoad Index NameLoad attr Str AugAssignAdd NameStore Num decorator_list FunctionDef arguments args NameParam defaults body Return Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return Call NameLoad NameLoad keyword Str decorator_list FunctionDef arguments args NameParam defaults body Return Call NameLoad NameLoad keyword Str decorator_list If CompareEq NameLoad Str body Assign NameStore Str FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad Call NameLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str For NameStore Call NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str For NameStore Call NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str For NameStore Call NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str For NameStore Call NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str For NameStore Call NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str For NameStore Call NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str For NameStore Call NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Call NameLoad Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Call NameLoad Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Str decorator_list If CompareLt Call NameLoad NameLoad Num body Assign NameStore TupleLoad TupleLoad Str NameLoad orelse FunctionDef arguments args defaults body For NameStore SubscriptLoad NameLoad Slice Num body With Call NameLoad NameLoad Str NameStore body Expr Yield TupleLoad NameLoad Call AttributeLoad Call AttributeLoad NameLoad attr attr Str decorator_list Assign NameStore Call NameLoad For TupleStore NameStore NameStore NameLoad body TryExcept body Print NameLoad NameLoad Expr Call NameLoad NameLoad handlers ExceptHandler body Print NameLoad Str NameLoad Raise
N/A N/A 
Conversion scripts related to Stanford tools.

Author:     Pontus Stenetorp    <pontus stenetorp se>
Version:    2012-06-26
 __future__ with_statement collections defaultdict itertools chain sys argv path sys_path stderr stdout os.path dirname join path_join xml.etree ElementTree ptbesc unescape ptb_unescape N/A N/A collections namedtuple N/A N/A N/A ImportError N/A N/A N/A N/A sys_path append N/A path_join N/A dirname __file__ .. .. lib altnamedtuple namedtuple N/A N/A annotation BinaryRelationAnnotation EquivAnnotation TextBoundAnnotation N/A N/A N/A ImportError N/A N/A N/A N/A sys_path append N/A path_join N/A dirname __file__ .. annotation BinaryRelationAnnotation EquivAnnotation TextBoundAnnotation N/A Token N/A namedtuple Token N/A word lemma start end pos ner _escape_pos_tags N/A N/A pos N/A N/A N/A pos_res pos N/A N/A _from to N/A N/A ' __SINGLEQUOTE__ N/A " __DOUBLEQUOTE__ N/A $ __DOLLAR__ N/A , __COMMA__ N/A . __DOT__ N/A : __COLON__ N/A ` __BACKTICK__ N/A N/A pos_res N/A N/A pos_res replace _from to N/A pos_res N/A _token_by_ids N/A N/A soup N/A N/A N/A token_by_ids N/A defaultdict dict N/A sent_e N/A N/A N/A _find_sentences_element soup getiterator sentence N/A N/A sent_id N/A int N/A N/A sent_e get id N/A tok_e N/A N/A sent_e getiterator token N/A N/A tok_id N/A int N/A N/A tok_e get id N/A tok_word N/A unicode N/A N/A N/A tok_e find word text N/A tok_lemma N/A unicode N/A N/A N/A tok_e find lemma text N/A tok_start N/A int N/A N/A N/A tok_e find CharacterOffsetBegin text N/A tok_end N/A int N/A N/A N/A tok_e find CharacterOffsetEnd text N/A tok_pos N/A unicode N/A N/A N/A tok_e find POS text N/A tok_ner N/A unicode N/A N/A N/A tok_e find NER text N/A N/A N/A token_by_ids N/A sent_id N/A tok_id N/A Token word tok_word lemma tok_lemma start tok_start end tok_end pos N/A _escape_pos_tags tok_pos ner tok_ner N/A token_by_ids N/A _tok_it N/A N/A token_by_ids N/A N/A N/A s_id N/A sorted N/A k N/A k token_by_ids N/A N/A t_id N/A sorted N/A k N/A k N/A token_by_ids N/A s_id N/A N/A N/A N/A s_id t_id N/A N/A token_by_ids N/A s_id N/A t_id N/A _soup N/A N/A xml N/A N/A N/A N/A N/A ElementTree fromstring N/A N/A xml encode utf-8 N/A token_offsets N/A N/A xml N/A N/A N/A soup N/A _soup xml N/A token_by_ids N/A _token_by_ids soup N/A N/A N/A N/A tok start N/A tok end N/A N/A _ _ tok N/A _tok_it token_by_ids N/A sentence_offsets N/A N/A xml N/A N/A N/A soup N/A _soup xml N/A token_by_ids N/A _token_by_ids soup N/A sent_min_max N/A defaultdict N/A N/A N/A N/A N/A N/A 2 32 -1 N/A N/A s_id _ tok N/A _tok_it token_by_ids N/A N/A s_entry N/A sent_min_max N/A s_id N/A N/A sent_min_max N/A s_id N/A N/A min N/A tok start N/A s_entry N/A 0 N/A max N/A tok end N/A s_entry N/A 1 N/A N/A sorted N/A N/A s_start s_end N/A N/A s_start s_end N/A N/A sent_min_max itervalues N/A text N/A N/A xml N/A N/A N/A soup N/A _soup xml N/A token_by_ids N/A _token_by_ids soup N/A max_offset -1 N/A N/A _ _ tok N/A _tok_it token_by_ids N/A N/A max_offset N/A max max_offset N/A tok end N/A text N/A list N/A max_offset N/A N/A _ _ tok N/A _tok_it token_by_ids N/A N/A unesc_word N/A ptb_unescape N/A tok word N/A N/A text N/A N/A tok start N/A len unesc_word unesc_word N/A N/A N/A join text N/A _pos N/A N/A xml start_id N/A 1 N/A N/A soup N/A _soup xml N/A token_by_ids N/A _token_by_ids soup N/A curr_id start_id N/A N/A s_id t_id tok N/A _tok_it token_by_ids N/A N/A N/A N/A s_id t_id N/A TextBoundAnnotation N/A N/A N/A tok start N/A tok end N/A T%s curr_id N/A tok pos N/A curr_id 1 N/A pos N/A N/A xml start_id N/A 1 N/A N/A N/A a N/A N/A _ _ a N/A _pos xml start_id start_id N/A ner N/A N/A xml start_id N/A 1 N/A N/A soup N/A _soup xml N/A token_by_ids N/A _token_by_ids soup N/A nes N/A N/A last_ne_tok None N/A prev_tok None N/A N/A _ _ tok N/A _tok_it token_by_ids N/A N/A N/A N/A tok ner O N/A N/A N/A last_ne_tok None N/A N/A last_ne_tok tok N/A N/A N/A N/A tok ner N/A last_ne_tok ner N/A N/A N/A N/A nes append N/A N/A last_ne_tok start N/A prev_tok end N/A last_ne_tok ner N/A last_ne_tok tok N/A N/A N/A N/A N/A last_ne_tok None N/A N/A N/A N/A nes append N/A N/A last_ne_tok start N/A prev_tok end N/A last_ne_tok ner N/A last_ne_tok None N/A prev_tok tok N/A N/A N/A last_ne_tok None N/A N/A N/A N/A nes append N/A N/A last_ne_tok start N/A prev_tok end N/A last_ne_tok ner N/A curr_id start_id N/A N/A start end _type nes N/A N/A N/A N/A TextBoundAnnotation N/A N/A start end N/A T%s curr_id _type N/A curr_id 1 N/A coref N/A N/A xml start_id N/A 1 N/A N/A soup N/A _soup xml N/A token_by_ids N/A _token_by_ids soup N/A docs_e N/A N/A soup findall document N/A N/A N/A len docs_e 1 N/A docs_e N/A docs_e N/A 0 N/A corefs_e N/A N/A docs_e findall coreference N/A N/A corefs_e N/A N/A StopIteration N/A N/A N/A len corefs_e 1 N/A corefs_e N/A corefs_e N/A 0 N/A curr_id start_id N/A coref_e corefs_e N/A N/A N/A N/A corefs_e tag coreference N/A N/A N/A chain N/A N/A mention_e N/A N/A coref_e getiterator mention N/A N/A sentence_id N/A int N/A N/A N/A mention_e find sentence text N/A start_tok_id N/A int N/A N/A N/A mention_e find start text N/A end_tok_id N/A N/A int N/A N/A N/A mention_e find end text 1 N/A mention_id N/A T%s N/A curr_id N/A N/A N/A chain append mention_id N/A curr_id 1 N/A N/A N/A TextBoundAnnotation N/A N/A N/A N/A N/A token_by_ids N/A sentence_id N/A start_tok_id start N/A N/A N/A token_by_ids N/A sentence_id N/A end_tok_id end mention_id Mention N/A N/A N/A EquivAnnotation Coreference chain N/A _find_sentences_element N/A N/A soup N/A N/A N/A docs_e N/A N/A soup findall document N/A N/A N/A len docs_e 1 N/A docs_e N/A docs_e N/A 0 N/A sents_e N/A N/A docs_e findall sentences N/A N/A N/A len sents_e 1 N/A sents_e N/A sents_e N/A 0 N/A sents_e N/A _dep N/A N/A xml source_element N/A basic-dependencies N/A N/A soup N/A _soup xml N/A token_by_ids N/A _token_by_ids soup N/A ann_by_ids N/A defaultdict dict N/A N/A s_id t_id ann N/A _pos xml N/A N/A N/A N/A ann_by_ids N/A s_id N/A t_id ann N/A N/A ann N/A curr_rel_id 1 N/A sent_e N/A N/A N/A _find_sentences_element soup getiterator sentence N/A N/A sent_id N/A int N/A N/A sent_e get id N/A deps_e N/A N/A sent_e findall source_element N/A N/A N/A len deps_e 0 N/A N/A deps_e N/A list N/A e N/A e N/A N/A sent_e getiterator dependencies N/A N/A N/A e attrib N/A type source_element N/A N/A N/A len deps_e 1 N/A deps_e N/A deps_e N/A 0 N/A dep_e deps_e N/A N/A N/A N/A dep_e tag dep N/A N/A N/A dep_type N/A N/A dep_e get type N/A N/A dep_type None N/A N/A dep_type root N/A N/A N/A gov_tok_id N/A int N/A N/A N/A N/A dep_e find governor get idx N/A dep_tok_id N/A int N/A N/A N/A N/A dep_e find dependent get idx N/A N/A N/A BinaryRelationAnnotation N/A R%s curr_rel_id dep_type Governor N/A N/A N/A ann_by_ids N/A sent_id N/A gov_tok_id id Dependent N/A N/A N/A ann_by_ids N/A sent_id N/A dep_tok_id id N/A curr_rel_id 1 N/A basic_dep N/A N/A xml N/A N/A N/A N/A _dep xml N/A collapsed_dep N/A N/A xml N/A N/A N/A N/A _dep xml source_element collapsed-dependencies N/A collapsed_ccproc_dep N/A N/A xml N/A N/A N/A N/A _dep xml source_element collapsed-ccprocessed-dependencies N/A N/A N/A __name__ __main__ N/A N/A STANFORD_XML <?xml version="1.0" encoding="UTF-8"?>
    <?xml-stylesheet href="CoreNLP-to-HTML.xsl" type="text/xsl"?>
    <root>
      <document>
        <sentences>
          <sentence id="1">
            <tokens>
              <token id="1">
                <word>Stanford</word>
                <lemma>Stanford</lemma>
                <CharacterOffsetBegin>0</CharacterOffsetBegin>
                <CharacterOffsetEnd>8</CharacterOffsetEnd>
                <POS>NNP</POS>
                <NER>ORGANIZATION</NER>
              </token>
              <token id="2">
                <word>University</word>
                <lemma>University</lemma>
                <CharacterOffsetBegin>9</CharacterOffsetBegin>
                <CharacterOffsetEnd>19</CharacterOffsetEnd>
                <POS>NNP</POS>
                <NER>ORGANIZATION</NER>
              </token>
              <token id="3">
                <word>is</word>
                <lemma>be</lemma>
                <CharacterOffsetBegin>20</CharacterOffsetBegin>
                <CharacterOffsetEnd>22</CharacterOffsetEnd>
                <POS>VBZ</POS>
                <NER>O</NER>
              </token>
              <token id="4">
                <word>located</word>
                <lemma>located</lemma>
                <CharacterOffsetBegin>23</CharacterOffsetBegin>
                <CharacterOffsetEnd>30</CharacterOffsetEnd>
                <POS>JJ</POS>
                <NER>O</NER>
              </token>
              <token id="5">
                <word>in</word>
                <lemma>in</lemma>
                <CharacterOffsetBegin>31</CharacterOffsetBegin>
                <CharacterOffsetEnd>33</CharacterOffsetEnd>
                <POS>IN</POS>
                <NER>O</NER>
              </token>
              <token id="6">
                <word>California</word>
                <lemma>California</lemma>
                <CharacterOffsetBegin>34</CharacterOffsetBegin>
                <CharacterOffsetEnd>44</CharacterOffsetEnd>
                <POS>NNP</POS>
                <NER>LOCATION</NER>
              </token>
              <token id="7">
                <word>.</word>
                <lemma>.</lemma>
                <CharacterOffsetBegin>44</CharacterOffsetBegin>
                <CharacterOffsetEnd>45</CharacterOffsetEnd>
                <POS>.</POS>
                <NER>O</NER>
              </token>
            </tokens>
            <parse>(ROOT (S (NP (NNP Stanford) (NNP University)) (VP (VBZ is) (ADJP (JJ located) (PP (IN in) (NP (NNP California))))) (. .))) </parse>
            <basic-dependencies>
              <dep type="nn">
                <governor idx="2">University</governor>
                <dependent idx="1">Stanford</dependent>
              </dep>
              <dep type="nsubj">
                <governor idx="4">located</governor>
                <dependent idx="2">University</dependent>
              </dep>
              <dep type="cop">
                <governor idx="4">located</governor>
                <dependent idx="3">is</dependent>
              </dep>
              <dep type="prep">
                <governor idx="4">located</governor>
                <dependent idx="5">in</dependent>
              </dep>
              <dep type="pobj">
                <governor idx="5">in</governor>
                <dependent idx="6">California</dependent>
              </dep>
            </basic-dependencies>
            <collapsed-dependencies>
              <dep type="nn">
                <governor idx="2">University</governor>
                <dependent idx="1">Stanford</dependent>
              </dep>
              <dep type="nsubj">
                <governor idx="4">located</governor>
                <dependent idx="2">University</dependent>
              </dep>
              <dep type="cop">
                <governor idx="4">located</governor>
                <dependent idx="3">is</dependent>
              </dep>
              <dep type="prep_in">
                <governor idx="4">located</governor>
                <dependent idx="6">California</dependent>
              </dep>
            </collapsed-dependencies>
            <collapsed-ccprocessed-dependencies>
              <dep type="nn">
                <governor idx="2">University</governor>
                <dependent idx="1">Stanford</dependent>
              </dep>
              <dep type="nsubj">
                <governor idx="4">located</governor>
                <dependent idx="2">University</dependent>
              </dep>
              <dep type="cop">
                <governor idx="4">located</governor>
                <dependent idx="3">is</dependent>
              </dep>
              <dep type="prep_in">
                <governor idx="4">located</governor>
                <dependent idx="6">California</dependent>
              </dep>
            </collapsed-ccprocessed-dependencies>
          </sentence>
          <sentence id="2">
            <tokens>
              <token id="1">
                <word>It</word>
                <lemma>it</lemma>
                <CharacterOffsetBegin>46</CharacterOffsetBegin>
                <CharacterOffsetEnd>48</CharacterOffsetEnd>
                <POS>PRP</POS>
                <NER>O</NER>
              </token>
              <token id="2">
                <word>is</word>
                <lemma>be</lemma>
                <CharacterOffsetBegin>49</CharacterOffsetBegin>
                <CharacterOffsetEnd>51</CharacterOffsetEnd>
                <POS>VBZ</POS>
                <NER>O</NER>
              </token>
              <token id="3">
                <word>a</word>
                <lemma>a</lemma>
                <CharacterOffsetBegin>52</CharacterOffsetBegin>
                <CharacterOffsetEnd>53</CharacterOffsetEnd>
                <POS>DT</POS>
                <NER>O</NER>
              </token>
              <token id="4">
                <word>great</word>
                <lemma>great</lemma>
                <CharacterOffsetBegin>54</CharacterOffsetBegin>
                <CharacterOffsetEnd>59</CharacterOffsetEnd>
                <POS>JJ</POS>
                <NER>O</NER>
              </token>
              <token id="5">
                <word>university</word>
                <lemma>university</lemma>
                <CharacterOffsetBegin>60</CharacterOffsetBegin>
                <CharacterOffsetEnd>70</CharacterOffsetEnd>
                <POS>NN</POS>
                <NER>O</NER>
              </token>
              <token id="6">
                <word>.</word>
                <lemma>.</lemma>
                <CharacterOffsetBegin>70</CharacterOffsetBegin>
                <CharacterOffsetEnd>71</CharacterOffsetEnd>
                <POS>.</POS>
                <NER>O</NER>
              </token>
            </tokens>
            <parse>(ROOT (S (NP (PRP It)) (VP (VBZ is) (NP (DT a) (JJ great) (NN university))) (. .))) </parse>
            <basic-dependencies>
              <dep type="nsubj">
                <governor idx="5">university</governor>
                <dependent idx="1">It</dependent>
              </dep>
              <dep type="cop">
                <governor idx="5">university</governor>
                <dependent idx="2">is</dependent>
              </dep>
              <dep type="det">
                <governor idx="5">university</governor>
                <dependent idx="3">a</dependent>
              </dep>
              <dep type="amod">
                <governor idx="5">university</governor>
                <dependent idx="4">great</dependent>
              </dep>
            </basic-dependencies>
            <collapsed-dependencies>
              <dep type="nsubj">
                <governor idx="5">university</governor>
                <dependent idx="1">It</dependent>
              </dep>
              <dep type="cop">
                <governor idx="5">university</governor>
                <dependent idx="2">is</dependent>
              </dep>
              <dep type="det">
                <governor idx="5">university</governor>
                <dependent idx="3">a</dependent>
              </dep>
              <dep type="amod">
                <governor idx="5">university</governor>
                <dependent idx="4">great</dependent>
              </dep>
            </collapsed-dependencies>
            <collapsed-ccprocessed-dependencies>
              <dep type="nsubj">
                <governor idx="5">university</governor>
                <dependent idx="1">It</dependent>
              </dep>
              <dep type="cop">
                <governor idx="5">university</governor>
                <dependent idx="2">is</dependent>
              </dep>
              <dep type="det">
                <governor idx="5">university</governor>
                <dependent idx="3">a</dependent>
              </dep>
              <dep type="amod">
                <governor idx="5">university</governor>
                <dependent idx="4">great</dependent>
              </dep>
            </collapsed-ccprocessed-dependencies>
          </sentence>
        </sentences>
        <coreference>
          <coreference>
            <mention representative="true">
              <sentence>1</sentence>
              <start>1</start>
              <end>3</end>
              <head>2</head>
            </mention>
            <mention>
              <sentence>2</sentence>
              <start>1</start>
              <end>2</end>
              <head>1</head>
            </mention>
            <mention>
              <sentence>2</sentence>
              <start>3</start>
              <end>6</end>
              <head>5</head>
            </mention>
          </coreference>
        </coreference>
      </document>
    </root>
     _test_xml N/A N/A xml_string N/A N/A N/A N/A N/A stdout write Text:
 N/A N/A N/A stdout write N/A N/A N/A text xml_string encode utf-8 N/A N/A N/A stdout write N/A N/A N/A stdout write N/A N/A N/A stdout write Part-of-speech:
 N/A ann N/A pos xml_string N/A N/A N/A N/A stdout write N/A unicode ann N/A N/A N/A stdout write N/A N/A N/A stdout write N/A N/A N/A stdout write Named Entity Recoginiton:
 N/A ann N/A ner xml_string N/A N/A N/A N/A stdout write N/A unicode ann N/A N/A N/A stdout write N/A N/A N/A stdout write N/A N/A N/A stdout write Co-reference:
 N/A ann N/A coref xml_string N/A N/A N/A N/A stdout write N/A unicode ann N/A N/A N/A stdout write N/A N/A N/A stdout write N/A N/A N/A stdout write Basic dependencies:
 N/A ann N/A basic_dep xml_string N/A N/A N/A N/A stdout write N/A unicode ann N/A N/A N/A stdout write N/A N/A N/A stdout write N/A N/A N/A stdout write Basic dependencies:
 N/A ann N/A basic_dep xml_string N/A N/A N/A N/A stdout write N/A unicode ann N/A N/A N/A stdout write N/A N/A N/A stdout write N/A N/A N/A stdout write Collapsed dependencies:
 N/A ann N/A collapsed_dep xml_string N/A N/A N/A N/A stdout write N/A unicode ann N/A N/A N/A stdout write N/A N/A N/A stdout write N/A N/A N/A stdout write Collapsed CC-processed dependencies:
 N/A ann N/A collapsed_ccproc_dep xml_string N/A N/A N/A N/A stdout write N/A unicode ann N/A N/A N/A stdout write N/A N/A N/A stdout write N/A N/A N/A stdout write Token boundaries:
 N/A N/A N/A stdout write N/A unicode N/A token_offsets xml_string N/A N/A N/A stdout write N/A N/A N/A stdout write N/A N/A N/A stdout write Sentence boundaries:
 N/A N/A N/A stdout write N/A unicode N/A sentence_offsets xml_string N/A N/A N/A stdout write N/A N/A N/A N/A len argv 2 N/A N/A xml_strings N/A N/A <string> STANFORD_XML N/A _xml_gen N/A N/A N/A N/A N/A xml_path N/A argv N/A 1 N/A N/A N/A open xml_path r xml_file N/A N/A N/A N/A xml_path N/A N/A N/A N/A xml_file read decode utf-8 N/A N/A xml_strings N/A _xml_gen N/A N/A xml_source xml_string xml_strings N/A N/A N/A N/A stderr xml_source N/A N/A _test_xml xml_string N/A N/A N/A N/A stderr Crashed on: xml_source N/A