-
Notifications
You must be signed in to change notification settings - Fork 0
/
INSTALL
31 lines (20 loc) · 885 Bytes
/
INSTALL
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
## ==================================================================
## Indonesian Morphological Tool (MorphInd)
## Last Modified : May 2013
## ==================================================================
## Copyright (c) 2013 Septina Dian Larasati. All rights reserved.
Prerequisites:
==============
- PERL
- FOMA (http://code.google.com/p/foma)
How to use:
===========
bash$ cat INPUTFILE | perl MorphInd.pl > OUTPUTFILE
bash$ echo "mengirim" | perl MorphInd.pl > OUTPUTFILE
bash$ cat INPUTFILE | perl MorphInd.pl [-cache-file CACHEFILE -bin-file BINARYFILE -disambiguate (0/1)] > OUTPUTFILE
Example:
bash$ cat sample.txt | perl MorphInd.pl > sample.out
bash$ cat sample.txt | perl MorphInd.pl -cache-file cache-files/default.cache \
-bin-file bin/morphind.bin -disambiguate 1 > sample.out
Input example : "mengirim"
Output example : "^meN+kirim<v>_VSA$"