mirror of
https://github.com/moses-smt/mosesdecoder.git
synced 2024-09-11 11:25:40 +03:00
Create a Cantonese version, distinct from Mandarin.
The content is identical, at this moment, but having distinct langauge suffixes solves processing-pipeline problems later on.
This commit is contained in:
parent
1933bcbf33
commit
bd9d12351b
53
scripts/share/nonbreaking_prefixes/nonbreaking_prefix.yue
Normal file
53
scripts/share/nonbreaking_prefixes/nonbreaking_prefix.yue
Normal file
@ -0,0 +1,53 @@
|
||||
#
|
||||
# Cantonese (Chinese)
|
||||
#
|
||||
# Anything in this file, followed by a period,
|
||||
# does NOT indicate an end-of-sentence marker.
|
||||
#
|
||||
# English/Euro-language given-name initials (appearing in
|
||||
# news, periodicals, etc.)
|
||||
A
|
||||
Ā
|
||||
B
|
||||
C
|
||||
Č
|
||||
D
|
||||
E
|
||||
Ē
|
||||
F
|
||||
G
|
||||
Ģ
|
||||
H
|
||||
I
|
||||
Ī
|
||||
J
|
||||
K
|
||||
Ķ
|
||||
L
|
||||
Ļ
|
||||
M
|
||||
N
|
||||
Ņ
|
||||
O
|
||||
P
|
||||
Q
|
||||
R
|
||||
S
|
||||
Š
|
||||
T
|
||||
U
|
||||
Ū
|
||||
V
|
||||
W
|
||||
X
|
||||
Y
|
||||
Z
|
||||
Ž
|
||||
|
||||
# Numbers only. These should only induce breaks when followed by
|
||||
# a numeric sequence.
|
||||
# Add NUMERIC_ONLY after the word for this function. This case is
|
||||
# mostly for the english "No." which can either be a sentence of its
|
||||
# own, or if followed by a number, a non-breaking prefix.
|
||||
No #NUMERIC_ONLY#
|
||||
Nr #NUMERIC_ONLY#
|
@ -1,5 +1,5 @@
|
||||
#
|
||||
# Chinese (Mandarin, Cantonese)
|
||||
# Mandarin (Chinese)
|
||||
#
|
||||
# Anything in this file, followed by a period,
|
||||
# does NOT indicate an end-of-sentence marker.
|
||||
|
Loading…
Reference in New Issue
Block a user