Module Import alias Import alias Import alias Import alias ImportFrom alias Import alias ImportFrom alias ImportFrom alias alias Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Str Assign NameStore Str ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Assign NameStore AttributeLoad Call NameLoad NameLoad NameLoad attr Assign NameStore BinOpAdd NameLoad ListLoad Str Str Return NameLoad decorator_list NameLoad decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr keyword NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore ListLoad Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Assign NameStore GeneratorExp NameLoad comprehension NameStore NameLoad comprehension TupleStore NameStore NameStore NameLoad Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad Call NameLoad AttributeLoad NameLoad attr NameLoad ListLoad TupleLoad Call NameLoad AttributeLoad NameLoad attr TupleLoad NameLoad Str Assign NameStore Str Assign NameStore Num For TupleStore NameStore TupleStore NameStore NameStore NameLoad body If CompareNotEq NameLoad NameLoad body If CompareNotEq NameLoad Str body Assign NameStore Call AttributeLoad Str attr SubscriptLoad AttributeLoad NameLoad attr Slice NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Assign NameStore NameLoad Assign NameStore NameLoad TryExcept body Expr Call NameLoad NameLoad Assert NameLoad Str handlers ExceptHandler type NameLoad body Pass Return NameLoad decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam defaults NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad If UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Raise Call NameLoad Str Assign NameStore Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Str Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str keyword Str Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list decorator_list FunctionDef arguments args defaults body Expr Call AttributeLoad NameLoad attr Str TryExcept body Expr Call NameLoad handlers ExceptHandler type NameLoad body If UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad Str attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr BinOpAdd NameLoad NameLoad Expr Call NameLoad NameLoad AttributeLoad NameLoad attr orelse Expr Call AttributeLoad NameLoad attr Str decorator_list
N/A N/A itertools N/A os N/A os.path N/A logging nltk.tag.stanford NERTagger N/A wget iepy.preprocess.ner.base BaseNERRunner iepy.utils DIRS unzip_file N/A logger N/A N/A logging getLogger __name__ N/A stanford_ner_name stanford-ner-2014-01-04 N/A download_url_base http://nlp.stanford.edu/software/ NonTokenizingNERTagger N/A NERTagger N/A _cmd N/A N/A self N/A N/A N/A old N/A N/A super NonTokenizingNERTagger self _cmd N/A old N/A old N/A -tokenizerFactory edu.stanford.nlp.process.WhitespaceTokenizer N/A old N/A property N/A NERRunner N/A BaseNERRunner N/A N/A Wrapper to insert a generic callable sentence NER tagger into the pipeline.
     __init__ N/A N/A self ner override N/A False N/A N/A N/A N/A N/A super NERRunner self __init__ override override N/A N/A self ner ner N/A run_ner N/A N/A self doc N/A N/A N/A entities N/A N/A ner_sentences N/A N/A self ner N/A N/A doc get_sentences N/A ner_kinds N/A k N/A s ner_sentences N/A N/A _ k s N/A z N/A N/A itertools chain N/A enumerate N/A zip N/A doc tokens ner_kinds N/A N/A N/A len N/A doc tokens N/A None INVALID N/A last_kind O N/A offset 0 N/A N/A i N/A token kind z N/A N/A N/A kind last_kind N/A N/A N/A last_kind O N/A N/A name N/A N/A join N/A N/A doc tokens N/A offset i N/A N/A N/A entities append N/A N/A self build_occurrence name N/A N/A last_kind lower name offset i N/A offset i N/A last_kind kind N/A N/A N/A N/A next ner_kinds N/A False ner_kinds should have been completely consumed N/A N/A N/A StopIteration N/A N/A N/A entities N/A N/A StanfordNERRunner N/A NERRunner N/A __init__ N/A N/A self override N/A False N/A N/A ner_path N/A N/A N/A os path join N/A DIRS user_data_dir stanford_ner_name N/A N/A N/A N/A N/A os path exists ner_path N/A N/A N/A LookupError Stanford NER not found. Try running the command download_third_party_data.py N/A ner N/A NonTokenizingNERTagger N/A N/A N/A os path join ner_path classifiers english.all.3class.distsim.crf.ser.gz N/A N/A N/A os path join ner_path stanford-ner.jar encoding utf8 N/A N/A N/A N/A super StanfordNERRunner self __init__ N/A ner tag_sents override N/A N/A download N/A N/A N/A N/A N/A N/A N/A logger info Downloading Stanford NER... N/A N/A N/A N/A StanfordNERRunner N/A N/A N/A LookupError N/A N/A N/A N/A N/A N/A os path exists N/A DIRS user_data_dir N/A N/A N/A N/A os mkdir N/A DIRS user_data_dir N/A N/A N/A os chdir N/A DIRS user_data_dir N/A package_filename N/A N/A {0}.zip format stanford_ner_name N/A zip_path N/A N/A N/A os path join N/A DIRS user_data_dir package_filename N/A N/A N/A wget download N/A download_url_base package_filename N/A N/A unzip_file zip_path N/A DIRS user_data_dir N/A N/A N/A N/A logger info Stanford NER is already downloaded and functional. N/A