Add missing EOF
This commit is contained in:
parent
ad36e0e1c5
commit
5b3f362722
1 changed files with 1 additions and 0 deletions
|
@ -34,6 +34,7 @@ async def get_word_freqs(texts):
|
|||
for i in texts:
|
||||
proc.stdin.write(i.encode("utf-8"))
|
||||
proc.stdin.write(b"\n")
|
||||
proc.stdin.write_eof()
|
||||
|
||||
freqs = {}
|
||||
stdout = await proc.stdout.read()
|
||||
|
|
Loading…
Reference in a new issue