Menu

I cant understand this " text2wfreq < weather.txt | wfreq2vocab > weather.tmp.vocab"

Help
rezaee
2016-10-08
2016-10-08
  • rezaee

    rezaee - 2016-10-08

    I'm not familiar with Linux enough, I think "text2wfreq" is the command, "weather.txt" is our input(consist of our sentenses text file), "weather.tmp.vocab" is output file, and havn't idea about "wfreq2vocab"!
    Anyway, what they are and how do they work?
    thanks!

     
  • rezaee

    rezaee - 2016-10-08

    I Solved the problem and found the documantation

     
  • rezaee

    rezaee - 2016-10-08

    Ok. another problem when I want to run this command (my test sentences file is "ttt.txt" and "weather.vocab" is the file that is result of previous command execution):

    text2idngram -vocab weather.vocab -idngram weather.idngram < ttt.txt idngram2lm -vocab_type 0 -idngram weather.idngram -vocab \weather.vocab -arpa weather.lm
    

    And get this Error:

    text2idngram
    Error : Unknown (or unprocessed) command line options:
    idngram2lm -vocab_type 0 -idngram weather.idngram -vocab weather.vocab -arpa weather.lm 
    Rerun with the -help option for more information.
    
     
  • rezaee

    rezaee - 2016-10-08

    OK
    solved this too!

     

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.