>>> from chirptext import deko
>>> sent = deko.parse('η«γε₯½γγ§γγ')
>>> sent.tokens
===========================
FileNotFoundError Traceback (most recent call last)
<ipython-input-15-bd2eed5e1672> in <module>
1 from chirptext import deko
----> 2 sent = deko.parse('η«γε₯½γγ§γγ')
3 sent.tokens
~\Anaconda3\lib\site-packages\chirptext\deko.py in txt2mecab(text, **kwargs)
250 def txt2mecab(text, **kwargs):
251 ''' Use mecab to parse one sentence '''
--> 252 mecab_out = _internal_mecab_parse(text, **kwargs).splitlines()
253 tokens = [MeCabToken.parse(x) for x in mecab_out]
254 return MeCabSent(text, tokens)
~\Anaconda3\lib\site-packages\chirptext\dekomecab.py in parse(content, *args, **kwargs)
65 return MeCab.Tagger(*args).parse(content)
66 else:
---> 67 return run_mecab_process(content, *args, **kwargs)
68
69
~\Anaconda3\lib\site-packages\chirptext\dekomecab.py in run_mecab_process(content, *args, **kwargs)
55 output = subprocess.run(proc_args,
56 input=content.encode(encoding),
---> 57 stdout=subprocess.PIPE)
58 output_string = os.linesep.join(output.stdout.decode(encoding).splitlines())
59 return output_string
~\Anaconda3\lib\subprocess.py in run(input, capture_output, timeout, check, *popenargs, **kwargs)
464 kwargs['stderr'] = PIPE
465
--> 466 with Popen(*popenargs, **kwargs) as process:
467 try:
468 stdout, stderr = process.communicate(input, timeout=timeout)
~\Anaconda3\lib\subprocess.py in __init__(self, args, bufsize, executable, stdin, stdout, stderr, preexec_fn, close_fds, shell, cwd, env, universal_newlines, startupinfo, creationflags, restore_signals, start_new_session, pass_fds, encoding, errors, text)
767 c2pread, c2pwrite,
768 errread, errwrite,
--> 769 restore_signals, start_new_session)
770 except:
771 # Cleanup if the child failed starting.
~\Anaconda3\lib\subprocess.py in _execute_child(self, args, executable, preexec_fn, close_fds, pass_fds, cwd, env, startupinfo, creationflags, shell, p2cread, p2cwrite, c2pread, c2pwrite, errread, errwrite, unused_restore_signals, unused_start_new_session)
1170 env,
1171 os.fspath(cwd) if cwd is not None else None,
-> 1172 startupinfo)
1173 finally:
1174 # Child is launched. Close the parent's copy of those pipe
FileNotFoundError: [WinError 2] The system cannot find the file specified