SHARE
TWEET

Untitled

a guest Jun 25th, 2019 42 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. from mosestokenizer import MosesDetokenizer
  2.  
  3. with MosesDetokenizer('en') as detokenize:
  4.     print(detokenize(["hi", 'my', 'name', 'is', 'artem']))
  5.      
  6. stdbuf was not found; communication with perl may hang due to stdio buffering.
  7. Traceback (most recent call last):
  8.   File "C:UsersArtemLaptievDocumentsGitHubtempfoo.py", line 3, in <module>
  9.     with MosesDetokenizer('en') as detokenize:
  10.   File "C:ProgramFilesAnacondalibsite-packagesmosestokenizerdetokenizer.py", line 47, in __init__
  11.     super().__init__(argv)
  12.   File "C:ProgramFilesAnacondalibsite-packagestoolwrapper.py", line 52, in __init__
  13.     self.start()
  14.   File "C:ProgramFilesAnacondalibsite-packagestoolwrapper.py", line 92, in start
  15.     cwd=self.cwd
  16.   File "C:ProgramFilesAnacondalibsubprocess.py", line 709, in __init__
  17.     restore_signals, start_new_session)
  18.   File "C:ProgramFilesAnacondalibsubprocess.py", line 997, in _execute_child
  19.     startupinfo)
  20. FileNotFoundError: [WinError 2] The system cannot find the file specified
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top