From 2b1e8411ab5eaa7e1349b78d03270ab02ae2950d Mon Sep 17 00:00:00 2001 From: schneefux Date: Mon, 6 Oct 2014 16:52:53 +0200 Subject: Fix flake8 style nits --- client/vocabcompiler.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'client/vocabcompiler.py') 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): -- cgit v1.3.1