diff options
| author | schneefux <schneefux+commit@schneefux.xyz> | 2014-10-06 16:52:53 +0200 |
|---|---|---|
| committer | schneefux <schneefux+commit@schneefux.xyz> | 2014-10-06 16:52:53 +0200 |
| commit | 2b1e8411ab5eaa7e1349b78d03270ab02ae2950d (patch) | |
| tree | ed914cbf8964bbe26ba28e80589f4c289b3fac3a /client/vocabcompiler.py | |
| parent | 890a5798fcf7f9b9dc06529aa4bc7fe903d7ca1a (diff) | |
| download | jasper-client-2b1e8411ab5eaa7e1349b78d03270ab02ae2950d.tar.gz jasper-client-2b1e8411ab5eaa7e1349b78d03270ab02ae2950d.zip | |
Fix flake8 style nits
Diffstat (limited to 'client/vocabcompiler.py')
| -rw-r--r-- | client/vocabcompiler.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/client/vocabcompiler.py b/client/vocabcompiler.py index 1ca0d26..52b1f0a 100644 --- a/client/vocabcompiler.py +++ b/client/vocabcompiler.py @@ -1,6 +1,7 @@ # -*- coding: utf-8-*- """ - Iterates over all the WORDS variables in the modules and creates a dictionary for the client. +Iterates over all the WORDS variables in the modules and creates a +dictionary for the client. """ import os @@ -11,8 +12,8 @@ from brain import Brain def text2lm(in_filename, out_filename): """Wrapper around the language model compilation tools""" def text2idngram(in_filename, out_filename): - cmd = "text2idngram -vocab %s < %s -idngram temp.idngram" % (out_filename, - in_filename) + cmd = "text2idngram -vocab %s < %s -idngram temp.idngram" % ( + out_filename, in_filename) os.system(cmd) def idngram2lm(in_filename, out_filename): |
