-
Notifications
You must be signed in to change notification settings - Fork 16
/
README
66 lines (41 loc) · 1.97 KB
/
README
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
GENIA Tagger
Tsujii laboratory
University of Tokyo
1. How to build
You need gcc to build the tagger.
% make
if you encounter errors with hash, try commenting out "#define USE_HASH_MAP"
in "maxent.h".
2. How to use
Prepare a text file containing one sentence per line, then
% ./geniatagger < TEXTFILE > TAGGEDTEXT
The tagger outputs the base forms, part-of-speech (POS) tags, chunk tags,
and named entity (NE) tags in the following tab-separated format.
word1 base1 POStag1 chunktag1 NEtag1
word2 base2 POStag2 chunktag2 NEtag2
: : : :
Chunks and named entities are represented in the IOB2 format (B for BEGIN,
I for INSIDE, and O for OUTSIDE). The named entity tagger is trained on
the NLPBA data set [3], which contains five semantic classes (DNA, RNA,
cell_line, cell_type, and PROTEIN).
2.1 Tokenization
This tagger tokenizes the sentence with almost the same policy as the
upenn tokenizer (http://www.cis.upenn.edu/~treebank/tokenizer.sed).
If you don't want the tagger to perform tokenization, use -nt option.
In that case, the input sentences should be already tokenized by your
own tokenizer with white spaces.
References
[1] Yoshimasa Tsuruoka and Jun'ichi Tsujii, Bidirectional Inference with
the Easiest-First Strategy for Tagging Sequence Data, Proceedings of
HLT/EMNLP 2005, pp. 467-474.
[2] Yoshimasa Tsuruoka, Yuka Tateishi, Jin-Dong Kim, Tomoko Ohta, John
McNaught, Sophia Ananiadou, and Jun'ichi Tsujii, Developing a Robust
Part-of-Speech Tagger for Biomedical Text, Advances in Informatics -
10th Panhellenic Conference on Informatics, LNCS 3746, pp. 382-392, 2005
[3] http://research.nii.ac.jp/~collier/workshops/JNLPBA04st.htm
Please send questions and comments to [email protected].
---------------------------------
Tsujii laboratory,
Department of Computer Science,
University of Tokyo
http://www-tsujii.is.s.u-tokyo.ac.jp/