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bo.
|
2016-12-20 21:28:20 +00:00
|
|
|
bp.
|
2016-12-08 11:06:36 +00:00
|
|
|
br.
|
2016-12-20 21:28:20 +00:00
|
|
|
bsc.
|
2016-12-08 11:06:36 +00:00
|
|
|
bt.
|
2016-12-20 21:28:20 +00:00
|
|
|
btk.
|
2016-12-08 11:06:36 +00:00
|
|
|
c.
|
2016-12-20 21:28:20 +00:00
|
|
|
ca.
|
2016-12-08 11:06:36 +00:00
|
|
|
cc.
|
|
|
|
cca.
|
|
|
|
cf.
|
|
|
|
cif.
|
2016-12-20 21:28:20 +00:00
|
|
|
co.
|
|
|
|
corp.
|
|
|
|
cos.
|
2016-12-08 11:06:36 +00:00
|
|
|
cs.
|
2016-12-20 21:28:20 +00:00
|
|
|
csc.
|
2016-12-08 11:06:36 +00:00
|
|
|
csüt.
|
2016-12-20 21:28:20 +00:00
|
|
|
cső.
|
|
|
|
ctv.
|
|
|
|
d.
|
2016-12-08 11:06:36 +00:00
|
|
|
dbj.
|
|
|
|
dd.
|
|
|
|
ddr.
|
|
|
|
de.
|
|
|
|
dec.
|
|
|
|
dikt.
|
|
|
|
dipl.
|
2016-12-20 21:28:20 +00:00
|
|
|
dj.
|
2016-12-08 11:06:36 +00:00
|
|
|
dk.
|
|
|
|
dny.
|
|
|
|
dolg.
|
|
|
|
dr.
|
|
|
|
du.
|
2016-12-20 21:28:20 +00:00
|
|
|
dzs.
|
|
|
|
e.
|
2016-12-08 11:06:36 +00:00
|
|
|
ea.
|
|
|
|
ed.
|
|
|
|
eff.
|
|
|
|
egyh.
|
|
|
|
ell.
|
|
|
|
elv.
|
|
|
|
elvt.
|
|
|
|
em.
|
|
|
|
eng.
|
|
|
|
eny.
|
|
|
|
et.
|
|
|
|
etc.
|
|
|
|
ev.
|
|
|
|
ezr.
|
2016-12-20 21:28:20 +00:00
|
|
|
eü.
|
2016-12-08 11:06:36 +00:00
|
|
|
f.
|
2016-12-20 21:28:20 +00:00
|
|
|
f.h.
|
2016-12-08 11:06:36 +00:00
|
|
|
f.é.
|
2016-12-20 21:28:20 +00:00
|
|
|
fam.
|
2016-12-08 11:06:36 +00:00
|
|
|
febr.
|
2016-12-20 21:28:20 +00:00
|
|
|
fej.
|
2016-12-08 11:06:36 +00:00
|
|
|
felv.
|
2016-12-20 21:28:20 +00:00
|
|
|
felügy.
|
2016-12-08 11:06:36 +00:00
|
|
|
ff.
|
|
|
|
ffi.
|
|
|
|
fhdgy.
|
|
|
|
fil.
|
|
|
|
fiz.
|
|
|
|
fm.
|
|
|
|
foglalk.
|
|
|
|
ford.
|
|
|
|
fp.
|
|
|
|
fr.
|
|
|
|
frsz.
|
|
|
|
fszla.
|
|
|
|
fszt.
|
|
|
|
ft.
|
|
|
|
fuv.
|
2016-12-20 21:28:20 +00:00
|
|
|
főig.
|
|
|
|
főisk.
|
|
|
|
főtörm.
|
|
|
|
főv.
|
|
|
|
g.
|
2016-12-08 11:06:36 +00:00
|
|
|
gazd.
|
|
|
|
gimn.
|
|
|
|
gk.
|
|
|
|
gkv.
|
|
|
|
gondn.
|
|
|
|
gr.
|
|
|
|
grav.
|
|
|
|
gy.
|
|
|
|
gyak.
|
|
|
|
gyártm.
|
2016-12-20 21:28:20 +00:00
|
|
|
gör.
|
2016-12-08 11:06:36 +00:00
|
|
|
h.
|
|
|
|
hads.
|
|
|
|
hallg.
|
|
|
|
hdm.
|
|
|
|
hdp.
|
|
|
|
hds.
|
|
|
|
hg.
|
|
|
|
hiv.
|
|
|
|
hk.
|
|
|
|
hm.
|
|
|
|
ho.
|
|
|
|
honv.
|
|
|
|
hp.
|
|
|
|
hr.
|
|
|
|
hrsz.
|
|
|
|
hsz.
|
|
|
|
ht.
|
|
|
|
htb.
|
|
|
|
hv.
|
2016-12-20 21:28:20 +00:00
|
|
|
hőm.
|
2016-12-08 11:06:36 +00:00
|
|
|
i.e.
|
2016-12-20 21:28:20 +00:00
|
|
|
i.sz.
|
|
|
|
id.
|
2016-12-08 11:06:36 +00:00
|
|
|
ifj.
|
|
|
|
ig.
|
|
|
|
igh.
|
|
|
|
ill.
|
|
|
|
imp.
|
2016-12-20 21:28:20 +00:00
|
|
|
inc.
|
2016-12-08 11:06:36 +00:00
|
|
|
ind.
|
2016-12-20 21:28:20 +00:00
|
|
|
inform.
|
2016-12-08 11:06:36 +00:00
|
|
|
inic.
|
|
|
|
int.
|
|
|
|
io.
|
|
|
|
ip.
|
|
|
|
ir.
|
|
|
|
irod.
|
|
|
|
isk.
|
|
|
|
ism.
|
|
|
|
izr.
|
2016-12-20 21:28:20 +00:00
|
|
|
iá.
|
2016-12-08 11:06:36 +00:00
|
|
|
j.
|
|
|
|
jan.
|
|
|
|
jav.
|
|
|
|
jegyz.
|
|
|
|
jjv.
|
|
|
|
jkv.
|
|
|
|
jogh.
|
|
|
|
jogt.
|
|
|
|
jr.
|
2016-12-20 21:28:20 +00:00
|
|
|
jvb.
|
2016-12-08 11:06:36 +00:00
|
|
|
júl.
|
|
|
|
jún.
|
|
|
|
k.
|
|
|
|
karb.
|
|
|
|
kat.
|
|
|
|
kb.
|
|
|
|
kcs.
|
|
|
|
kd.
|
|
|
|
ker.
|
|
|
|
kf.
|
|
|
|
kft.
|
|
|
|
kht.
|
|
|
|
kir.
|
|
|
|
kirend.
|
|
|
|
kisip.
|
|
|
|
kiv.
|
|
|
|
kk.
|
|
|
|
kkt.
|
|
|
|
klin.
|
2016-12-20 21:28:20 +00:00
|
|
|
kp.
|
|
|
|
krt.
|
|
|
|
kt.
|
|
|
|
ktsg.
|
|
|
|
kult.
|
|
|
|
kv.
|
|
|
|
kve.
|
|
|
|
képv.
|
|
|
|
kísérl.
|
2016-12-08 11:06:36 +00:00
|
|
|
kóth.
|
|
|
|
könyvt.
|
|
|
|
körz.
|
|
|
|
köv.
|
|
|
|
közj.
|
|
|
|
közl.
|
|
|
|
közp.
|
|
|
|
közt.
|
|
|
|
kü.
|
|
|
|
l.
|
|
|
|
lat.
|
|
|
|
ld.
|
|
|
|
legs.
|
|
|
|
lg.
|
|
|
|
lgv.
|
|
|
|
loc.
|
|
|
|
lt.
|
2016-12-20 21:28:20 +00:00
|
|
|
ltd.
|
2016-12-08 11:06:36 +00:00
|
|
|
ltp.
|
|
|
|
luth.
|
|
|
|
m.
|
2016-12-20 21:28:20 +00:00
|
|
|
m.a.
|
|
|
|
m.s.
|
|
|
|
m.sc.
|
|
|
|
ma.
|
2016-12-08 11:06:36 +00:00
|
|
|
mat.
|
|
|
|
mb.
|
|
|
|
med.
|
|
|
|
megh.
|
|
|
|
met.
|
|
|
|
mf.
|
|
|
|
mfszt.
|
2016-12-20 21:28:20 +00:00
|
|
|
min.
|
2016-12-08 11:06:36 +00:00
|
|
|
miss.
|
|
|
|
mjr.
|
|
|
|
mjv.
|
|
|
|
mk.
|
2016-12-20 21:28:20 +00:00
|
|
|
mlle.
|
|
|
|
mme.
|
2016-12-08 11:06:36 +00:00
|
|
|
mn.
|
|
|
|
mozg.
|
2016-12-20 21:28:20 +00:00
|
|
|
mr.
|
|
|
|
mrs.
|
|
|
|
ms.
|
|
|
|
msc.
|
|
|
|
má.
|
|
|
|
máj.
|
|
|
|
márc.
|
|
|
|
mé.
|
|
|
|
mélt.
|
2016-12-08 11:06:36 +00:00
|
|
|
mü.
|
|
|
|
műh.
|
|
|
|
műsz.
|
|
|
|
műv.
|
|
|
|
művez.
|
|
|
|
n.
|
|
|
|
nagyker.
|
|
|
|
nagys.
|
2016-12-20 21:28:20 +00:00
|
|
|
nat.
|
|
|
|
nb.
|
2016-12-08 11:06:36 +00:00
|
|
|
neg.
|
|
|
|
nk.
|
|
|
|
nov.
|
|
|
|
nu.
|
|
|
|
ny.
|
|
|
|
nyilv.
|
2016-12-20 21:28:20 +00:00
|
|
|
nyrt.
|
2016-12-08 11:06:36 +00:00
|
|
|
nyug.
|
|
|
|
o.
|
|
|
|
obj.
|
|
|
|
okl.
|
|
|
|
okt.
|
|
|
|
olv.
|
|
|
|
orsz.
|
|
|
|
ort.
|
|
|
|
ov.
|
|
|
|
ovh.
|
|
|
|
p.
|
|
|
|
pf.
|
|
|
|
pg.
|
2016-12-20 21:28:20 +00:00
|
|
|
ph.d
|
|
|
|
ph.d.
|
|
|
|
phd.
|
2016-12-08 11:06:36 +00:00
|
|
|
pk.
|
|
|
|
pl.
|
|
|
|
plb.
|
2016-12-20 21:28:20 +00:00
|
|
|
plc.
|
2016-12-08 11:06:36 +00:00
|
|
|
pld.
|
|
|
|
plur.
|
|
|
|
pol.
|
|
|
|
polg.
|
|
|
|
poz.
|
|
|
|
pp.
|
2016-12-20 21:28:20 +00:00
|
|
|
proc.
|
2016-12-08 11:06:36 +00:00
|
|
|
prof.
|
|
|
|
prot.
|
|
|
|
pság.
|
2016-12-20 21:28:20 +00:00
|
|
|
ptk.
|
2016-12-08 11:06:36 +00:00
|
|
|
pu.
|
|
|
|
pü.
|
2016-12-20 21:28:20 +00:00
|
|
|
q.
|
2016-12-08 11:06:36 +00:00
|
|
|
r.
|
2016-12-20 21:28:20 +00:00
|
|
|
r.k.
|
2016-12-08 11:06:36 +00:00
|
|
|
rac.
|
|
|
|
rad.
|
|
|
|
red.
|
|
|
|
ref.
|
|
|
|
reg.
|
2016-12-20 21:28:20 +00:00
|
|
|
rer.
|
2016-12-08 11:06:36 +00:00
|
|
|
rev.
|
|
|
|
rf.
|
|
|
|
rkp.
|
|
|
|
rkt.
|
|
|
|
rt.
|
|
|
|
rtg.
|
2016-12-20 21:28:20 +00:00
|
|
|
röv.
|
|
|
|
s.
|
|
|
|
s.b.
|
|
|
|
s.k.
|
2016-12-08 11:06:36 +00:00
|
|
|
sa.
|
|
|
|
sel.
|
|
|
|
sgt.
|
|
|
|
sm.
|
|
|
|
st.
|
|
|
|
stat.
|
2016-12-20 21:28:20 +00:00
|
|
|
stb.
|
2016-12-08 11:06:36 +00:00
|
|
|
strat.
|
|
|
|
sz.
|
|
|
|
szakm.
|
|
|
|
szaksz.
|
|
|
|
szakszerv.
|
|
|
|
szd.
|
|
|
|
szds.
|
|
|
|
szept.
|
|
|
|
szerk.
|
|
|
|
szf.
|
|
|
|
szimf.
|
2016-12-20 21:28:20 +00:00
|
|
|
szjt.
|
2016-12-08 11:06:36 +00:00
|
|
|
szkv.
|
|
|
|
szla.
|
|
|
|
szn.
|
|
|
|
szolg.
|
2016-12-20 21:28:20 +00:00
|
|
|
szt.
|
2016-12-08 11:06:36 +00:00
|
|
|
szubj.
|
2016-12-20 21:28:20 +00:00
|
|
|
szöv.
|
|
|
|
szül.
|
2016-12-08 11:06:36 +00:00
|
|
|
t.
|
|
|
|
tanm.
|
|
|
|
tb.
|
|
|
|
tbk.
|
|
|
|
tc.
|
|
|
|
techn.
|
|
|
|
tek.
|
2016-12-20 21:28:20 +00:00
|
|
|
tel.
|
2016-12-08 11:06:36 +00:00
|
|
|
tf.
|
|
|
|
tgk.
|
2016-12-20 21:28:20 +00:00
|
|
|
ti.
|
2016-12-08 11:06:36 +00:00
|
|
|
tip.
|
|
|
|
tisztv.
|
|
|
|
titks.
|
|
|
|
tk.
|
|
|
|
tkp.
|
|
|
|
tny.
|
|
|
|
tp.
|
|
|
|
tszf.
|
|
|
|
tszk.
|
|
|
|
tszkv.
|
|
|
|
tv.
|
|
|
|
tvr.
|
2016-12-20 21:28:20 +00:00
|
|
|
ty.
|
|
|
|
törv.
|
|
|
|
tü.
|
2016-12-08 11:06:36 +00:00
|
|
|
u.
|
|
|
|
ua.
|
|
|
|
ui.
|
|
|
|
unit.
|
|
|
|
uo.
|
|
|
|
uv.
|
|
|
|
v.
|
|
|
|
vas.
|
|
|
|
vb.
|
|
|
|
vegy.
|
|
|
|
vh.
|
|
|
|
vhol.
|
|
|
|
vill.
|
|
|
|
vizsg.
|
|
|
|
vk.
|
|
|
|
vkf.
|
|
|
|
vkny.
|
|
|
|
vm.
|
|
|
|
vol.
|
|
|
|
vs.
|
|
|
|
vsz.
|
|
|
|
vv.
|
2016-12-20 21:28:20 +00:00
|
|
|
vál.
|
|
|
|
vízv.
|
|
|
|
vö.
|
|
|
|
w.
|
|
|
|
y.
|
|
|
|
z.
|
|
|
|
zrt.
|
|
|
|
zs.
|
|
|
|
Ész.
|
|
|
|
Új-Z.
|
|
|
|
ÚjZ.
|
|
|
|
á.
|
|
|
|
ált.
|
|
|
|
ápr.
|
|
|
|
ásv.
|
|
|
|
é.
|
|
|
|
ék.
|
|
|
|
ény.
|
|
|
|
érk.
|
|
|
|
évf.
|
|
|
|
í.
|
|
|
|
ó.
|
|
|
|
ö.
|
|
|
|
össz.
|
|
|
|
ötk.
|
|
|
|
özv.
|
|
|
|
ú.
|
|
|
|
úm.
|
|
|
|
ún.
|
|
|
|
út.
|
|
|
|
ü.
|
|
|
|
üag.
|
|
|
|
üd.
|
|
|
|
üdv.
|
|
|
|
üe.
|
|
|
|
ümk.
|
|
|
|
ütk.
|
|
|
|
üv.
|
|
|
|
ő.
|
|
|
|
ű.
|
|
|
|
őrgy.
|
|
|
|
őrpk.
|
|
|
|
őrv.
|
|
|
|
""".strip().split()
|
|
|
|
|
|
|
|
OTHER_EXC = """
|
|
|
|
''
|
|
|
|
-e
|
|
|
|
""".strip().split()
|