rdr_model: Set up a Ripple Down Rules-based Part-Of-Speech Tagger for...

Description Usage Arguments Value See Also Examples

Description

Set up a Ripple Down Rules-based Part-Of-Speech Tagger for tagging sentences Possible languages are:

Usage

1
rdr_model(language, annotation = c("MORPH", "POS", "UniversalPOS"))

Arguments

language

the language which is one of the languages for the annotation shown in rdr_available_models

annotation

the type of annotation. Either one of 'MORPH', "POS' or 'UniversalPOS'

Value

An object of class RDRPOSTagger which is a list with elements model (the location of the dictionary and the rules of that language), the type of annotation and java objects tagger, initialtagger, dictionary and utility. This model object can be used to tag sentences based on the specified POS tags.

See Also

rdr_pos

Examples

 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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
## Not run: 
## MORPH models
tagger <- rdr_model(language = "Bulgarian", annotation = "MORPH")
tagger <- rdr_model(language = "Czech", annotation = "MORPH")
tagger <- rdr_model(language = "Dutch", annotation = "MORPH")
tagger <- rdr_model(language = "French", annotation = "MORPH")
tagger <- rdr_model(language = "German", annotation = "MORPH")
tagger <- rdr_model(language = "Portuguese", annotation = "MORPH")
tagger <- rdr_model(language = "Spanish", annotation = "MORPH")
tagger <- rdr_model(language = "Swedish", annotation = "MORPH")
## POS models
tagger <- rdr_model(language = "English", annotation = "POS")
tagger <- rdr_model(language = "French", annotation = "POS")
tagger <- rdr_model(language = "German", annotation = "POS")
tagger <- rdr_model(language = "Hindi", annotation = "POS")
tagger <- rdr_model(language = "Italian", annotation = "POS")
tagger <- rdr_model(language = "Thai", annotation = "POS")
tagger <- rdr_model(language = "Vietnamese", annotation = "POS")
## UniversalPOS models
tagger <- rdr_model(language = "Ancient_Greek", annotation = "UniversalPOS")
tagger <- rdr_model(language = "Ancient_Greek-PROIEL", annotation = "UniversalPOS")
tagger <- rdr_model(language = "Arabic", annotation = "UniversalPOS")
tagger <- rdr_model(language = "Basque", annotation = "UniversalPOS")
tagger <- rdr_model(language = "Belarusian", annotation = "UniversalPOS")
tagger <- rdr_model(language = "Bulgarian", annotation = "UniversalPOS")
tagger <- rdr_model(language = "Catalan", annotation = "UniversalPOS")
tagger <- rdr_model(language = "Chinese", annotation = "UniversalPOS")
tagger <- rdr_model(language = "Coptic", annotation = "UniversalPOS")
tagger <- rdr_model(language = "Croatian", annotation = "UniversalPOS")
tagger <- rdr_model(language = "Czech", annotation = "UniversalPOS")
tagger <- rdr_model(language = "Czech-CAC", annotation = "UniversalPOS")
tagger <- rdr_model(language = "Czech-CLTT", annotation = "UniversalPOS")
tagger <- rdr_model(language = "Danish", annotation = "UniversalPOS")
tagger <- rdr_model(language = "Dutch", annotation = "UniversalPOS")
tagger <- rdr_model(language = "Dutch-LassySmall", annotation = "UniversalPOS")
tagger <- rdr_model(language = "English", annotation = "UniversalPOS")
tagger <- rdr_model(language = "English-LinES", annotation = "UniversalPOS")
tagger <- rdr_model(language = "English-ParTUT", annotation = "UniversalPOS")
tagger <- rdr_model(language = "Estonian", annotation = "UniversalPOS")
tagger <- rdr_model(language = "Finnish", annotation = "UniversalPOS")
tagger <- rdr_model(language = "Finnish-FTB", annotation = "UniversalPOS")
tagger <- rdr_model(language = "French", annotation = "UniversalPOS")
tagger <- rdr_model(language = "French-ParTUT", annotation = "UniversalPOS")
tagger <- rdr_model(language = "French-Sequoia", annotation = "UniversalPOS")
tagger <- rdr_model(language = "Galician", annotation = "UniversalPOS")
tagger <- rdr_model(language = "Galician-TreeGal", annotation = "UniversalPOS")
tagger <- rdr_model(language = "German", annotation = "UniversalPOS")
tagger <- rdr_model(language = "Gothic", annotation = "UniversalPOS")
tagger <- rdr_model(language = "Greek", annotation = "UniversalPOS")
tagger <- rdr_model(language = "Hebrew", annotation = "UniversalPOS")
tagger <- rdr_model(language = "Hindi", annotation = "UniversalPOS")
tagger <- rdr_model(language = "Hungarian", annotation = "UniversalPOS")
tagger <- rdr_model(language = "Indonesian", annotation = "UniversalPOS")
tagger <- rdr_model(language = "Irish", annotation = "UniversalPOS")
tagger <- rdr_model(language = "Italian", annotation = "UniversalPOS")
tagger <- rdr_model(language = "Italian-ParTUT", annotation = "UniversalPOS")
tagger <- rdr_model(language = "Japanese", annotation = "UniversalPOS")
tagger <- rdr_model(language = "Korean", annotation = "UniversalPOS")
tagger <- rdr_model(language = "Latin", annotation = "UniversalPOS")
tagger <- rdr_model(language = "Latin-ITTB", annotation = "UniversalPOS")
tagger <- rdr_model(language = "Latin-PROIEL", annotation = "UniversalPOS")
tagger <- rdr_model(language = "Latvian", annotation = "UniversalPOS")
tagger <- rdr_model(language = "Lithuanian", annotation = "UniversalPOS")
tagger <- rdr_model(language = "Norwegian-Bokmaal", annotation = "UniversalPOS")
tagger <- rdr_model(language = "Norwegian-Nynorsk", annotation = "UniversalPOS")
tagger <- rdr_model(language = "Old_Church_Slavonic", annotation = "UniversalPOS")
tagger <- rdr_model(language = "Persian", annotation = "UniversalPOS")
tagger <- rdr_model(language = "Polish", annotation = "UniversalPOS")
tagger <- rdr_model(language = "Portuguese", annotation = "UniversalPOS")
tagger <- rdr_model(language = "Portuguese-BR", annotation = "UniversalPOS")
tagger <- rdr_model(language = "Romanian", annotation = "UniversalPOS")
tagger <- rdr_model(language = "Russian", annotation = "UniversalPOS")
tagger <- rdr_model(language = "Russian-SynTagRus", annotation = "UniversalPOS")
tagger <- rdr_model(language = "Slovak", annotation = "UniversalPOS")
tagger <- rdr_model(language = "Slovenian", annotation = "UniversalPOS")
tagger <- rdr_model(language = "Slovenian-SST", annotation = "UniversalPOS")
tagger <- rdr_model(language = "Spanish", annotation = "UniversalPOS")
tagger <- rdr_model(language = "Spanish-AnCora", annotation = "UniversalPOS")
tagger <- rdr_model(language = "Swedish", annotation = "UniversalPOS")
tagger <- rdr_model(language = "Swedish-LinES", annotation = "UniversalPOS")
tagger <- rdr_model(language = "Tamil", annotation = "UniversalPOS")
tagger <- rdr_model(language = "Turkish", annotation = "UniversalPOS")
tagger <- rdr_model(language = "Urdu", annotation = "UniversalPOS")
tagger <- rdr_model(language = "Vietnamese", annotation = "UniversalPOS")

## End(Not run)

bnosac/RDRPOSTagger documentation built on May 8, 2019, 3:43 p.m.