File: classify

package info (click to toggle)
rulex 3.8.6-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 11,504 kB
  • sloc: ansic: 2,216; makefile: 131; lisp: 108; sh: 73
file content (14 lines) | stat: -rwxr-xr-x 319 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/sh

# This script reads dictionary in it's textual representation
# from the file lexicon.dump and outputs comprehensive
# classification info for each word into the file lexicon.add.

exec <lexicon.dump >lexicon.add

while read key desc; do
    echo $key $desc
    ../src/lexholder -b $key lexicon
done

exit 0