-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathREADME.en
70 lines (49 loc) · 1.61 KB
/
README.en
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
Sssla README
============
Sssla is a morphological analizer that is comatible with ChaSen.
Requirements
------------
* ruby 1.6
* strscan
http://www.loveruby.net/ja/prog/strscan.html
* mmap
http://moulon.inra.fr/ruby/mmap.html
* Wary (double-array library) and its Ruby binding
http://cl.aist-nara.ac.jp/~kazuma-t/nlp/
Install
-------
De-Compress archive and enter its top directory.
Then type:
$ ruby install.rb config
$ ruby install.rb setup
($ su)
# ruby install.rb install
(Tools under mkdic are not installed.)
You can also install files in your favor directory by
supplying install.rb some options. Try "ruby install.rb --help".
Usage
-----
Making grammar files and a dictionary
-------------------------------------
Convert grammar files and a dictionary file of ChaSen using the tools
under mkdic.
$ cd mkdic
$ ruby makeall.rb /usr/local/share/chasen/dic/ipadic
So following files are created.
chadic.lex chadic.dat chadic.wry pos.sss inf.sss
matrix.sss table.sss
Usage of sssla.rb
-----------------
sssla.rb [--grammar-dir DIR] [file..]
Sssla.rb reads grammar files and the dictionary in current directory.
And you can specify the directory by --grammar-dir option and
the environment variable SSSLA_DIC_DIR.
Sssla.rb shows only the best path in the lattice.
License
-------
All the files in this package are distributed under the licences
written in each files.
This package includes install.rb in setup.rb 3.0.2 written by
AOKI Minero-SAN.
http://www.loveruby.net/ja/prog/
TAKAOKA Kazuma <[email protected]>