summaryrefslogtreecommitdiff
path: root/boot/boot.py
diff options
context:
space:
mode:
authorschneefux <schneefux+commit@schneefux.xyz>2014-05-27 20:23:30 -0400
committerschneefux <schneefux+commit@schneefux.xyz>2014-05-27 20:23:30 -0400
commite3f46a7a9222d951141ca6b6a932891ae7b20079 (patch)
tree01ec3ebfbf9492198b07f8e280b6d8eca47cc03a /boot/boot.py
parentd0c909dab1a06f5970216befd2cd0839327914fe (diff)
parent5deb1799cefe9351b90d3457898990d454d4a4dc (diff)
downloadjasper-client-e3f46a7a9222d951141ca6b6a932891ae7b20079.tar.gz
jasper-client-e3f46a7a9222d951141ca6b6a932891ae7b20079.zip
fixed merge conflicts
Diffstat (limited to 'boot/boot.py')
-rwxr-xr-xboot/boot.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/boot/boot.py b/boot/boot.py
index 317b4c0..ac52bdd 100755
--- a/boot/boot.py
+++ b/boot/boot.py
@@ -2,7 +2,6 @@
import os, json
import urllib2
-import subprocess
import yaml
from wifi import *
@@ -18,13 +17,13 @@ def configure():
print "CONNECTED TO INTERNET"
print "COMPILING DICTIONARY"
- vocabcompiler.compile()
+ vocabcompiler.compile("../client/sentences.txt", "../client/dictionary.dic", "../client/languagemodel.lm")
print "STARTING CLIENT PROGRAM"
os.system("/home/pi/jasper/client/start.sh &")
except:
-
+
print "COULD NOT CONNECT TO NETWORK"
say("Hello, I could not connect to a network. Please read the documentation to configure your Raspberry Pi.")
os.system("sudo shutdown -r now")