Download FreeLing User Manual
Transcript
Contents 1 Introduction 1.1 What is FreeLing . . . . 1.2 What is NOT FreeLing 1.3 Supported Languages . 1.4 License . . . . . . . . . . 1.5 Contributions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 1 1 1 2 2 2 Getting it to work 2.1 Requirements . . . . . . . 2.2 Installation . . . . . . . . 2.3 Executing . . . . . . . . . 2.4 Porting to other platforms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 3 4 7 7 3 Analysis Modules 3.1 Tokenizer Module . . . . . . . . . . . . . . . . . . . . . . . . 3.2 Splitter Module . . . . . . . . . . . . . . . . . . . . . . . . . 3.3 Morphological Analyzer Module . . . . . . . . . . . . . . . . 3.4 Number Detection Module . . . . . . . . . . . . . . . . . . . 3.5 Punctuation Detection Module . . . . . . . . . . . . . . . . 3.6 Dates Detection Module . . . . . . . . . . . . . . . . . . . . 3.7 Dictionary Search Module . . . . . . . . . . . . . . . . . . . 3.8 Multiword Recognition Module . . . . . . . . . . . . . . . . 3.9 Named Entity Recognition Module . . . . . . . . . . . . . . 3.10 Quantity Recognition Module . . . . . . . . . . . . . . . . . 3.11 Probability Assignment and Unkown Word Guesser Module 3.12 Sense Labelling Module . . . . . . . . . . . . . . . . . . . . 3.13 Word Sense Disambiguation Module . . . . . . . . . . . . . 3.14 Part-of-Speech Tagger Module . . . . . . . . . . . . . . . . 3.15 Named Entity Classification Module . . . . . . . . . . . . . 3.16 Chart Parser Module . . . . . . . . . . . . . . . . . . . . . . 3.17 Dependency Parser Module . . . . . . . . . . . . . . . . . . 3.18 Coreference Resolution Module . . . . . . . . . . . . . . . . 3.19 Semantic Database Module . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 9 10 11 13 13 14 14 17 18 22 24 25 26 27 32 33 35 40 41 4 Using the library from your own application 4.1 Basic Classes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4.2 Sample programs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43 43 44 5 Using the sample main program to process corpora 5.1 Usage example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5.2 Configuration File and Command Line Options . . . . . . . . . . . . . . . . . . . . 47 48 49 i