You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Text: Converter Chinese to pinyin in different ways
9
-
#NumArg: cli.AtLeast(1)
10
-
#NumOption: cli.AtLeast(3)
11
-
CanSubRoute: true
12
10
13
11
Options:
14
12
- Name: Filei
15
-
Type: '*clix.Reader'
13
+
Type: string
16
14
Flag: "i,in"
17
15
Usage: 'the Chinese text file to read from (or stdin)\n\t\t\tif not specified, read from command line instead'
18
16
19
17
- Name: Tone
20
18
Type: int
21
19
Flag: 't,tone'
20
+
EnvV: true
22
21
Usage: 'tone selection\n\t\t\t 0: normal. mnemonic~ nothing\n\t\t\t 1: tone at the end. mnemonic~ single sided\n\t\t\t 2: tone after yunmu. mnemonic~ double sided\n\t\t\t 3: tone on yunmu. mnemonic~ fancy'
23
22
24
23
- Name: Truncate
25
24
Type: int
26
25
Flag: 'l,truncate'
26
+
EnvV: true
27
27
Usage: 'select only part of the pinyin\n\t\t\t 0: normal. mnemonic~ nothing truncated\n\t\t\t 1: leave first char. mnemonic~ one\n\t\t\t 2: leave first shengmu. mnemonic~ might be two\n\t\t\t 9: leave only yunmu. mnemonic~ last'
28
28
29
29
- Name: Separator
30
30
Type: string
31
31
Flag: s,separator
32
+
EnvV: true
32
33
Usage: separator string between each pinyin
33
34
Value: ""
34
35
35
36
- Name: Polyphone
36
37
Type: bool
37
38
Flag: p,polyphone
39
+
EnvV: true
38
40
Usage: polyphone support, output each polyphone pinyin available
0 commit comments