You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
During initialization of stanfordnlp.Pipeline() output gets generated to stdout - this makes it difficult to integrate within command line utilities that too send their output to stdout.
So for example, assuming a python script 'process_text' I would like for it to accept input from stdin, and sent output to stdout, so that I can run something like:
grep "something" input_file | process_text
Currently this won't work.
The text was updated successfully, but these errors were encountered:
You should probably not define a global logger in __init__.py because that seems to overwrite whatever loggers are defined by an application when it runs import stanza
During initialization of stanfordnlp.Pipeline() output gets generated to stdout - this makes it difficult to integrate within command line utilities that too send their output to stdout.
So for example, assuming a python script 'process_text' I would like for it to accept input from stdin, and sent output to stdout, so that I can run something like:
grep "something" input_file | process_text
Currently this won't work.
The text was updated successfully, but these errors were encountered: