Advertisement
n0nick

Untitled

Jun 29th, 2011
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.54 KB | None | 0 0
  1. spectie: cat <list> | lt-proc <your noun transducer> | grep '<n>'
  2. spectie: cat <list> | lt-proc <your noun transducer> | grep '<n>' > /tmp/found
  3. spectie: for i in `cat /tmp/found | cut -f3 -d'^' | cut -f1 -d'<' | cut -f2 -d'/' | sed 's/ /_/g'`; do n=`echo $i | sed 's/_/ /g'`; cat <your dix file> | grep "lm=\"$n\""; done
  4.  
  5.  
  6.  
  7. spectie: for i in `cat /tmp/found | cut -f3 -d'^' | cut -f1 -d'<' | cut -f2 -d'/'`; do cat <your dix file> | grep "lm=\"$i\""; done
  8. spectie: something like that
  9. spectie: (note, that won't work if the entries have spaces in
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement