mecab

Subprocess, repeatedly write to STDIN while reading from STDOUT (Windows)

Subprocess, repeatedly write to STDIN while reading from STDOUT (Windows) Question: I want to call an external process from python. The process I’m calling reads an input string and gives tokenized result, and waits for another input (binary is MeCab tokenizer if that helps). I need to tokenize thousands of lines of string by calling …

Total answers: 4