Packages

Separates a paragraph into sentences in several languages. A port of perl's Lingua::Sentence

Current section

Files

Jump to
ex_lingua_sentence share nonbreaking_prefix.it
Raw

share/nonbreaking_prefix.it

#Anything in this file, followed by a period (and an upper-case word), does NOT indicate an end-of-sentence marker.
#Special cases are included for prefixes that ONLY appear before 0-9 numbers.
#any single upper case letter followed by a period is not a sentence ender
#usually upper case letters are initials in a name
#no Italian words end in single lower-case letters, so we throw those in too?
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
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
# Period-final abbreviation list from http://www.chass.utoronto.ca/~ngargano/corsi/corrisp/abbreviazioni.html
a.c
es
all
Amn
Arch
Avv
Bcc
c.a
C.A.P
Cc
banc
post
c.c.p
c.m
Co
c.p
C.P
corr
c.s
c.v
Dott
Dr
ecc
Egr
e.p.c
fatt
Geom
gg
Id
Ing
int
lett
Mo
Mons
N.B
ogg
on
pp
p.c
p.c
p.c.c
p.es
p.f
p.r
P.S
p.v
P.T
Prof
racc
Rag
Rev
ric
Rif
RP
RSVP
S.A
acc
S.B.F
seg
sgg
ss
Sig
Sigg
s.n.c
Soc
S.p.A
Spett
S.P.M
S.r.l
tel
u.s
V.P
v.r
v.s