[SRILM User List] stdin and disambig tool

kamel nebhi k.nebhi at sheffield.ac.uk
Wed Jun 11 06:00:19 PDT 2014


Hello,

I'm trying to use the disambig tool but instead of having a file as an
argument, i need to send string to STDIN. I try this but it doesn't work:

*cat <<< "hello" | disambig -lm
/Users/home/Truecaser_Joshua/model/lm/training.5gram.europarl.lm -keep-unk
-order 5 -map /Users/**home**/Truecaser_Joshua/model/lm/true-case.map *
and

*echo "hello" | disambig -lm
/Users/home/Truecaser_Joshua/model/lm/training.5gram.europarl.lm -keep-unk
-order 5 -map /Users/home/Truecaser_Joshua/model/lm/true-case.map*

How can i do  ?

Best

-- 

Kamel NebhiVisiting Academics - PhD studentRoom G35Department of
Computer Science
University of Sheffield
UK
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.speech.sri.com/pipermail/srilm-user/attachments/20140611/5bcd7cbd/attachment.html>


More information about the SRILM-User mailing list