No found Local Pipeline.
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: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
Traceback (most recent call last):
File "/home/rodriguesfas/Workspace/Text-Mining/Tool_NLP/CogComp/example-02.py", line 5, in
What is the snippet you use to run the code?
The code example I am trying to execute is as follows:
Basic Local Pipeline
from ccg_nlpy import local_pipeline pipeline = local_pipeline.LocalPipeline()
constructor declaration: LocalPipeline()
document = [ ["Hi", "!"], ["How", "are", "you", "?"] ] doc = pipeline.doc(document, pretokenized=True) print doc
Can you try this please?
document = "Hi how are you?" doc = pipeline.doc(document)
The same error, I checked if it was a problem with Marven, but it works fine.
Want to make sure if you used this command to download the models.
python -m ccg_nlpy download
If you've already downloaded models, delete the .ccg_nlpy directory from your $HOME folder and re-download.
exclude, and redo the steps, without success. So for you is the local pipeline running? Here for me, the Remote pipeline works correctly, the problem is in the local papeline :(
Yes, the local pipeline works correctly. I suggest you uninstall ccg_nlpy, re-install, and re-download the models. I tried it on my end, and it works.
Worked, thank you! could you tell me the complete documentation to use with pyhton?