| 1 |
|
| 2 |
PersianLG operating instructions |
| 3 |
-------------------------------- |
| 4 |
|
| 5 |
The link-grammar parser is meant to be used together with the stemmer in |
| 6 |
this directory. Using this is as simple as saying: |
| 7 |
|
| 8 |
echo -e "my sentence\n" | ./stemmer.pl -u | link-parser fa |
| 9 |
|
| 10 |
The above is wrapped up in a very short shell script called persianparse.sh |
| 11 |
To use this script, just say: |
| 12 |
|
| 13 |
./persianparse.sh 'my sentence' |
| 14 |
|
| 15 |
Most of the scripts included under the 'scripts' directory can be run by |
| 16 |
typing (in this directory) './myscript.pl < myinput.txt > myoutput.txt' |
| 17 |
|
| 18 |
For more information about the Persian link-grammar, see the README file |
| 19 |
in the /data/fa directory. |