Module Import alias Import alias Import alias Import alias ImportFrom alias ImportFrom alias ImportFrom alias alias Assign NameStore 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 Str Str Str Str Str Str Str Assign NameStore Str ClassDef bases body FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr SubscriptLoad NameLoad Index Str Assign AttributeStore NameLoad attr Call NameLoad BinOpAdd BinOpAdd SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Str Call NameLoad SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Assign AttributeStore NameLoad attr Dict Assign AttributeStore NameLoad attr SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Assign AttributeStore NameLoad attr SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Assign AttributeStore NameLoad attr SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Assign AttributeStore NameLoad attr SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Assign AttributeStore NameLoad attr BinOpAdd SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Str Assign AttributeStore NameLoad attr SubscriptLoad NameLoad Index Str Assign AttributeStore NameLoad attr BinOpAdd AttributeLoad NameLoad attr Str Assign SubscriptStore AttributeLoad NameLoad attr Index Str NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index Str NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index Str AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr Num If CompareNotEq NameLoad NameLoad body AugAssignAdd AttributeStore NameLoad attr BinOpAdd BinOpAdd BinOpAdd Str Call NameLoad NameLoad Str Call NameLoad NameLoad Assign NameStore Dict Str Dict Str Dict Str Str Dict Str Dict Str Str Str Str Str ListLoad Str Str Str Dict Str Str Dict Str Str Str Str Str SubscriptLoad SubscriptLoad NameLoad Index Str Index Str SubscriptLoad SubscriptLoad NameLoad Index Str Index Str CompareEq SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Num Dict Str Str Assign NameStore Dict Str Dict Str Str Str Dict Str Str Dict Str Str Str Str Dict Str Str Str Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword Dict Str Dict Str Dict Assign AttributeStore NameLoad attr SubscriptLoad NameLoad Index Str Assign AttributeStore NameLoad attr Call NameLoad Lambda arguments args NameParam defaults SubscriptLoad NameLoad Index Str SubscriptLoad SubscriptLoad NameLoad Index Str Index Str For NameStore SubscriptLoad SubscriptLoad NameLoad Index Str Index Str body Assign AttributeStore NameLoad attr BinOpAdd AttributeLoad NameLoad attr Call NameLoad Lambda arguments args NameParam defaults SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str If CompareEq NameLoad Num body If Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad NameLoad attr NameLoad If BoolOpOr CompareNotIn Str AttributeLoad NameLoad attr CompareEq SubscriptLoad AttributeLoad NameLoad attr Index Str NameLoad body TryExcept body If Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index Str Index Str body Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index Str Index Str Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index Str Index Str Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index Str Index Str keyword AttributeLoad NameLoad attr keyword NameLoad If Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad NameLoad attr NameLoad handlers ExceptHandler body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpAdd Str Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Num orelse Expr Call NameLoad Num Assign AttributeStore NameLoad attr Call NameLoad AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call NameLoad AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body If BoolOpAnd CompareIn Str AttributeLoad NameLoad attr CompareEq SubscriptLoad AttributeLoad NameLoad attr Index Str NameLoad body Return Assign NameStore Num If CompareNotEq SubscriptLoad AttributeLoad NameLoad attr Index Str NameLoad body Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Str Assign NameStore Num If CompareNotEq SubscriptLoad AttributeLoad NameLoad attr Index Str NameLoad body Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Str If BoolOpAnd CompareNotEq NameLoad Num CompareGt AttributeLoad NameLoad attr BinOpSub NameLoad NameLoad body Assign AttributeStore NameLoad attr BinOpAdd BinOpSub NameLoad NameLoad Num Assign AttributeStore NameLoad attr Num While NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword Dict Str Str Str Str NameLoad AttributeLoad NameLoad attr Dict Str Dict ListLoad Dict Str Dict Str Str keyword ListLoad Str If CompareEq Call NameLoad SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Num body Break AugAssignAdd AttributeStore NameLoad attr Call NameLoad SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpAdd BinOpAdd BinOpAdd BinOpAdd Str Call NameLoad NameLoad Str Call NameLoad BinOpAdd NameLoad Call NameLoad SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Str For NameStore SubscriptLoad SubscriptLoad NameLoad Index Str Index Str body Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpAdd Str SubscriptLoad NameLoad Index Str Assign NameStore Dict Str Str Str Str SubscriptLoad NameLoad Index Str Str Num AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad AttributeLoad NameLoad attr AugAssignAdd NameStore Call NameLoad SubscriptLoad SubscriptLoad NameLoad Index Str Index Str If BoolOpAnd CompareNotEq NameLoad Num CompareLtE NameLoad NameLoad body Break Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpAdd Call NameLoad AttributeLoad NameLoad attr Str While NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr If BoolOpAnd CompareIn Str SubscriptLoad NameLoad Index Str CompareGt SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Num body AugAssignAdd AttributeStore NameLoad attr Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd Str SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Str Call NameLoad AttributeLoad NameLoad attr Str Call NameLoad AttributeLoad NameLoad attr If BoolOpAnd CompareGtE BinOpAdd AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr UnaryOpNot AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Break Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body If CompareLt SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Num body AugAssignAdd SubscriptStore SubscriptLoad NameLoad Index Str Index Str Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad NameLoad Index Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr orelse AugAssignAdd AttributeStore NameLoad attr Num If BoolOpOr CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr CompareEq BinOpAdd AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpAdd Call NameLoad AttributeLoad NameLoad attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpAdd Call NameLoad AttributeLoad NameLoad attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpAdd Call NameLoad AttributeLoad NameLoad attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str decorator_list FunctionDef arguments args NameParam defaults body If Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad NameLoad attr decorator_list decorator_list
N/A N/A sys N/A os N/A os.path N/A re elasticsearch Elasticsearch time sleep muppet DurableChannel RemoteChannel N/A esStopWords N/A a an and are as at be but by for if in into is it no not of on or such that the their then there these they this to was will with N/A __name__ annotation_dispatcher AnnotationDispatcher N/A N/A __init__ N/A N/A self config processingStartIndex processingEndIndex N/A N/A N/A N/A self config config N/A N/A self logger N/A config N/A logger N/A N/A self esClient N/A Elasticsearch N/A N/A N/A N/A config N/A elasticsearch N/A host : N/A str N/A N/A config N/A elasticsearch N/A port N/A N/A self bagOfPhrases N/A N/A N/A self corpusIndex N/A N/A config N/A corpus N/A index N/A N/A self corpusType N/A N/A config N/A corpus N/A type N/A N/A self corpusFields N/A N/A config N/A corpus N/A text_fields N/A N/A self corpusSize 0 N/A N/A self processorIndex N/A N/A config N/A processor N/A index N/A N/A self processorType N/A N/A config N/A processor N/A type N/A N/A self processorPhraseType N/A N/A N/A config N/A processor N/A type __phrase N/A N/A self processingPageSize N/A config N/A processingPageSize N/A N/A self analyzerIndex N/A N/A self corpusIndex __analysis__ N/A N/A N/A self config N/A processingStartIndex processingStartIndex N/A N/A N/A self config N/A processingEndIndex processingEndIndex N/A N/A N/A self config N/A processingPageSize N/A self processingPageSize N/A N/A self totalDocumentsDispatched 0 N/A N/A self documentsAnnotated 0 N/A N/A self documentsNotAnnotated 0 N/A N/A self lastDispatcher False N/A N/A self endProcess False N/A N/A self dispatcherName bayzee.annotation.dispatcher N/A N/A self workerName bayzee.annotation.worker N/A N/A self timeout 86400000 N/A N/A processingEndIndex None N/A N/A N/A self dispatcherName N/A N/A N/A . N/A str processingStartIndex . N/A str processingEndIndex N/A analyzerIndexSettings N/A index N/A analysis N/A analyzer filter N/A analyzer_shingle N/A type tokenizer filter custom standard N/A standard lowercase filter_shingle N/A filter_shingle filter_stop N/A type max_shingle_size min_shingle_size output_unigrams shingle N/A N/A config N/A generator N/A maxShingleSize N/A N/A config N/A generator N/A minShingleSize N/A N/A N/A config N/A generator N/A minShingleSize 1 N/A type stop N/A analyzerIndexTypeMapping N/A properties N/A phrase document_id phrase__not_analyzed N/A type string N/A type index string not_analyzed N/A type index string not_analyzed N/A corpusSize N/A N/A N/A self esClient count index N/A self corpusIndex doc_type N/A self corpusType body N/A query N/A match_all N/A N/A N/A self corpusSize N/A corpusSize N/A count N/A N/A self featureNames N/A map N/A N/A N/A x N/A N/A x N/A name N/A N/A config N/A generator N/A features N/A module N/A N/A config N/A processor N/A modules N/A N/A N/A self featureNames N/A N/A self featureNames N/A map N/A N/A N/A x N/A N/A x N/A name N/A module N/A features N/A N/A processingStartIndex 0 N/A N/A N/A N/A N/A N/A self esClient indices exists N/A self analyzerIndex N/A N/A N/A N/A N/A N/A self esClient indices delete N/A self analyzerIndex N/A data N/A N/A N/A N/A self esClient indices create N/A self analyzerIndex analyzerIndexSettings N/A N/A N/A annotateFromScratch N/A self config N/A N/A N/A self config N/A annotateFromScratch True N/A N/A N/A N/A N/A N/A N/A N/A self esClient indices exists N/A N/A N/A self config N/A processor N/A index N/A N/A N/A N/A N/A N/A self esClient indices delete N/A N/A N/A self config N/A processor N/A index N/A N/A N/A N/A N/A self esClient indices create N/A N/A N/A self config N/A processor N/A index N/A N/A N/A N/A N/A self esClient indices put_mapping index N/A N/A N/A self config N/A processor N/A index doc_type N/A self processorPhraseType body analyzerIndexTypeMapping N/A N/A N/A N/A N/A self esClient indices exists N/A self analyzerIndex N/A N/A N/A N/A N/A N/A self esClient indices delete N/A self analyzerIndex N/A data N/A N/A N/A N/A self esClient indices create N/A self analyzerIndex analyzerIndexSettings N/A N/A N/A N/A error N/A N/A sys exc_info N/A N/A N/A N/A self logger error N/A Error occurred during initialization of analyzer index:  N/A str error N/A N/A N/A sys exit 1 N/A N/A N/A sleep 1 N/A N/A self annotationDispatcher N/A DurableChannel N/A self dispatcherName config N/A self timeoutCallback N/A N/A self controlChannel N/A RemoteChannel N/A self dispatcherName config N/A dispatchToAnnotate N/A N/A self N/A N/A N/A N/A N/A indexPhrases N/A self config N/A N/A N/A self config N/A indexPhrases False N/A N/A N/A nextDocumentIndex 0 N/A N/A N/A N/A self config N/A processingStartIndex None N/A N/A nextDocumentIndex N/A N/A self config N/A processingStartIndex N/A endDocumentIndex -1 N/A N/A N/A N/A self config N/A processingEndIndex None N/A N/A endDocumentIndex N/A N/A self config N/A processingEndIndex N/A N/A N/A endDocumentIndex -1 N/A N/A self processingPageSize N/A endDocumentIndex nextDocumentIndex N/A N/A N/A self processingPageSize N/A N/A endDocumentIndex nextDocumentIndex 1 N/A N/A self totalDocumentsDispatched 0 N/A True N/A N/A documents N/A N/A N/A self esClient search index N/A self corpusIndex doc_type N/A self corpusType body N/A from size query sort nextDocumentIndex N/A self processingPageSize N/A match_all N/A N/A N/A _id N/A order asc fields N/A _id N/A N/A N/A len N/A N/A documents N/A hits N/A hits 0 N/A N/A N/A N/A self totalDocumentsDispatched N/A len N/A N/A documents N/A hits N/A hits N/A N/A N/A N/A self logger info N/A N/A N/A N/A Annotating  N/A str nextDocumentIndex  to  N/A str N/A nextDocumentIndex N/A len N/A N/A documents N/A hits N/A hits  documents... N/A document N/A N/A documents N/A hits N/A hits N/A N/A N/A N/A N/A self logger info N/A Dispatching document  N/A document N/A _id N/A content N/A documentId type count from N/A document N/A _id annotate 1 N/A self dispatcherName N/A N/A N/A N/A self annotationDispatcher send content N/A self workerName N/A nextDocumentIndex N/A len N/A N/A documents N/A hits N/A hits N/A N/A N/A endDocumentIndex -1 N/A endDocumentIndex nextDocumentIndex N/A N/A N/A N/A N/A N/A self logger info N/A N/A str N/A self totalDocumentsDispatched  documents dispatched N/A True N/A N/A message N/A N/A N/A self annotationDispatcher receive N/A N/A N/A documentId N/A message N/A content N/A N/A N/A message N/A content N/A documentId 0 N/A N/A N/A self documentsAnnotated 1 N/A N/A N/A N/A self annotationDispatcher close message N/A N/A N/A N/A self logger info N/A N/A N/A N/A N/A Annotated document  N/A N/A message N/A content N/A documentId  -  N/A str N/A self documentsAnnotated / N/A str N/A self totalDocumentsDispatched N/A N/A N/A N/A N/A self documentsAnnotated N/A self documentsNotAnnotated N/A self totalDocumentsDispatched N/A N/A self lastDispatcher N/A N/A N/A N/A N/A self controlChannel send dying N/A N/A N/A N/A self annotationDispatcher end N/A N/A N/A N/A self __terminate N/A timeoutCallback N/A N/A self message N/A N/A N/A N/A N/A N/A message N/A content N/A count 5 N/A N/A N/A N/A message N/A content N/A count 1 N/A N/A N/A N/A self annotationDispatcher send N/A message N/A content N/A self workerName N/A self timeout N/A N/A N/A self documentsNotAnnotated 1 N/A N/A N/A N/A self documentsNotAnnotated N/A self totalDocumentsDispatched N/A N/A N/A self documentsAnnotated N/A self documentsNotAnnotated N/A self totalDocumentsDispatched N/A N/A N/A N/A self __terminate N/A __terminate N/A N/A self N/A N/A N/A N/A N/A N/A self logger info N/A N/A str N/A self totalDocumentsDispatched  total dispatched N/A N/A N/A N/A self logger info N/A N/A str N/A self documentsAnnotated  annotated N/A N/A N/A N/A self logger info N/A N/A str N/A self documentsNotAnnotated  failed to annotate N/A N/A N/A N/A self logger info Annotation complete N/A N/A N/A N/A self logger info Terminating annotation dispatcher N/A __deleteAnalyzerIndex N/A N/A self N/A N/A N/A N/A N/A N/A N/A self esClient indices exists N/A self analyzerIndex N/A N/A N/A N/A N/A N/A self esClient indices delete N/A self analyzerIndex N/A N/A