Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #34 from tryolabs/add_words_and_code_improvements
New: `add(words)` API and some code improvements
- Loading branch information
Showing
9 changed files
with
307 additions
and
190 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
FORWARD F AO R W ER D | ||
GO G OW | ||
TEN T EH N |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
Language model created by QuickLM on Mon Jan 23 09:11:27 EST 2017 | ||
Copyright (c) 1996-2010 Carnegie Mellon University and Alexander I. Rudnicky | ||
|
||
The model is in standard ARPA format, designed by Doug Paul while he was at MITRE. | ||
|
||
The code that was used to produce this language model is available in Open Source. | ||
Please visit http://www.speech.cs.cmu.edu/tools/ for more information | ||
|
||
The (fixed) discount mass is 0.5. The backoffs are computed using the ratio method. | ||
This model based on a corpus of 1 sentences and 5 words | ||
|
||
\data\ | ||
ngram 1=5 | ||
ngram 2=4 | ||
ngram 3=3 | ||
|
||
\1-grams: | ||
-1.0000 </s> -0.3010 | ||
-1.0000 <s> -0.2553 | ||
-1.0000 FORWARD -0.2553 | ||
-1.0000 GO -0.2553 | ||
-1.0000 TEN -0.2553 | ||
|
||
\2-grams: | ||
-0.3010 <s> GO 0.0000 | ||
-0.3010 FORWARD TEN 0.0000 | ||
-0.3010 GO FORWARD 0.0000 | ||
-0.3010 TEN </s> -0.3010 | ||
|
||
\3-grams: | ||
-0.3010 <s> GO FORWARD | ||
-0.3010 FORWARD TEN </s> | ||
-0.3010 GO FORWARD TEN | ||
|
||
\end\ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.