summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAditya Naik2016-09-13 16:51:45 -0400
committerAditya Naik2016-09-13 16:51:45 -0400
commit098c147cd7eb39038d0ffe79cd9233fd8c41494e (patch)
tree18265c2afb761fc582a7303e51cfbb3ba14e429d
parentee74e956237f77cdbb638d6504e65efaabb54dc0 (diff)
updated readmeHEADmaster
-rw-r--r--README.MD3
-rw-r--r--main.c3
2 files changed, 5 insertions, 1 deletions
diff --git a/README.MD b/README.MD
index 9ac47b9..7bf50a6 100644
--- a/README.MD
+++ b/README.MD
@@ -16,3 +16,6 @@ Optional Dependencies:
This project provides a voice activated way to control GPIO pins on a Raspberry Pi and control a Roku TV connected to the same network. There are a few presents included in the code for controlling the Roku TV which I created for my personal use.
+## Custom Language Dictionary
+
+You can create custom dictionary for the keywords you need to use using a corpus file here: http://www.speech.cs.cmu.edu/tools/lmtool.html \ No newline at end of file
diff --git a/main.c b/main.c
index 8a30638..3856d16 100644
--- a/main.c
+++ b/main.c
@@ -297,7 +297,8 @@ int sendTVcommand(int command, char* host, int port){
sleep(1);
http_req_resp(host, port, select, &resp);
sleep(1);
- rokuWrite(host, port, "Star Trek The Next");
+ rokuWrite(host, port, "Star Trek The Next Generation");
+ sleep(2);
http_req_resp(host, port, enter, &resp);
sleep(7);
for(int i=0; i<5; i++)