Advertisement
Guest User

CMU SPHINX 4 Patch for ARPA LM

a guest
Feb 28th, 2011
617
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Diff 0.49 KB | None | 0 0
  1. Index: src/sphinx4/edu/cmu/sphinx/linguist/language/ngram/SimpleNGramModel.java
  2. ===================================================================
  3. --- src/sphinx4/edu/cmu/sphinx/linguist/language/ngram/SimpleNGramModel.java    (revision 10783)
  4. +++ src/sphinx4/edu/cmu/sphinx/linguist/language/ngram/SimpleNGramModel.java    (working copy)
  5. @@ -403,7 +403,7 @@
  6.          if (line == null) {
  7.              corrupt("Premature EOF");
  8.          }
  9. -        return line;
  10. +        return line.trim();
  11.      }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement