cogcomp-nlpy
cogcomp-nlpy copied to clipboard
CogComp's light-weight Python NLP annotators
Hi I am trying to use the downloaded version because I am interested in Semantic Role labeling. I use MacOs (BigSur) M1 chip. I have installed maven through brew, and...
C:\Users\haijunxia\Desktop>python ccg_pipline.py INFO:ccg_nlpy.pipeline_config:Using local pipeline SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder". SLF4J: Defaulting to no-operation (NOP) logger implementation SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details. Reading POS tagger model from edu/stanford/nlp/models/pos-tagger/english-left3words/english-left3words-distsim.tagger...
What is the minimum working example of a code that I feed in a string and gives me the named entities? ``` from ccg_nlpy import local_pipeline pipeline = local_pipeline.LocalPipeline() d...
Example: When a doc doesn't contain any Named Entity, the view_dictionary doesn't contain the key: NER_CONLL. I think the key should still be present, but the cons_list should be empty....
When annotating many small documents the output is overwhelming. Any way to disable the output logging? ``` INFO:ccg_nlpy.pipeline_config:Using pipeline web server with API: http://macniece.seas.upenn.edu:400 INFO:ccg_nlpy.remote_pipeline:pipeline has been set up INFO:ccg_nlpy.pipeline_config:Using...
`ta.get_pos` and `ta.get_ner` should be vanilla methods instead of being properties. For properties, I suggest have `ta.pos` and `ta.ner` if we want that functionality.
The local pipeline hello world code was failing with the error `AttributeError: type object 'edu.illinois.cs.cogcomp.annotation.BasicTextAnnota' has no attribute 'createTextAnnotationFromListofListofTokens'` It turns out it was because the models I had in...
I would like help with Local Pipeline, I get the following error when I try to play the initial experiment. INFO:ccg_nlpy.pipeline_config:Using local pipeline SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder". SLF4J:...
When I am testing the code, sometime it will throw out the following exception `JVM exception occurred: Header checksum broken. Store was not closed correctly, or is corrupted` when I...