-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcli.yml
84 lines (84 loc) · 3.11 KB
/
cli.yml
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
name: Naive Language Guesser
version: "0.1"
author: Philipp Gawlik <[email protected]>
about: Guesses a language from a text file
args:
subcommands:
- model:
about: Generate a new language model from a example text
version: "0.1"
author: Philipp Gawlik <[email protected]>
args:
- path:
short: p
long: path
value_name: path
required: true
takes_value: true
help: Specifies the path to a text file holding a language artifact
- model-name:
short: n
long: model-name
value_name: model_name
required: true
takes_value: true
help: Specifies name for generated model
- alphabet:
short: a
long: alphabet
value_name: alphabet
required: true
takes_value: true
help: Specifies set of characters the language model is based on. Possible values {alphanum, ascii}
- n-gram-length:
short: l
long: n-gram-length
value_name: n_gram_length
required: true
takes_value: true
help: Specifies the n-gram length the language model is based on
- set-marker:
short: m
long: set-marker
help: Specifies if marker '#' is added to start and end of the text
- smoothing-type:
short: s
long: smoothing-type
value_name: smoothing_type
required: true
takes_value: true
help: Specify the type of smoothing. Possible values {no, add_one, witten_bell}
- guess:
about: Guess the language of a text
version: "0.1"
author: Philipp Gawlik <[email protected]>
args:
- path:
short: p
long: path
value_name: path
required: true
takes_value: true
help: Specifies the path to a text file holding a language artifact
- alphabet:
short: a
long: alphabet
value_name: alphabet
required: true
takes_value: true
help: Specifies set of characters the language model is based on. Possible values {alphanum, ascii}
- n-gram-length:
short: l
long: n-gram-length
value_name: n_gram_length
required: true
takes_value: true
help: Specifies the n-gram length the language model is based on
- set-marker:
short: m
long: set-marker
help: Specifies if marker '#' is added to start and end of the text
- in-parallel:
short: i
long: in-parallel
help: Specifies parallel guessing over language models