This commit is contained in:
2022-10-22 11:01:52 +08:00
commit 200117b921
105 changed files with 26944 additions and 0 deletions

View File

@ -0,0 +1,14 @@
def word_property_conversion(text):
vc = ("vi.", "vt.", "aux.")
pronc = ("det.",)
interjc = ("int.",)
abbrc = ("pref.", "symb.")
if text in vc:
return "v."
elif text in pronc:
return "pron."
elif text in interjc:
return "interj."
elif text in abbrc:
return "abbr."
return text