Menu

srilm base text

Help
2016-11-02
2016-11-03
  • rastinrastini

    rastinrastini - 2016-11-02

    Hi
    text for building language with realm for ngram-count must be with text ?
    my text file is 1000 line but get this error:

    one of modified KneserNey discounts is negative
    error in discount estimator for order 1

    whats my problem?
    Thankful.

     
    • Nickolay V. Shmyrev

      text for building language with realm for ngram-count must be with <s> and </s>?

      Not necessary, they are added automatically, you can keep them too.

      my text file is 1000 line but get this error:

      Use -wbdiscount instead. Kndiscount requires a lot of text

       
  • rastinrastini

    rastinrastini - 2016-11-03

    thx for help.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.