Skip to content

Commit 7841d88

Browse files
Remove Tense from infinitives in Old Church Slavonic
1 parent 6bc3950 commit 7841d88

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

udapi/block/msf/slavic/preprocessor.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,7 @@ def process_node(self,node):
3131
# In Ukrainian, there is no explicit annotation of reflexive verbs
3232
# We decided to unify the annotation of reflexive verbs with Russian and Belarusian, where reflexive verbs are formed similarly
3333
# We add the feature Voice=Mid to reflexive verbs
34-
# This feature is added only to Ukrainian data (for example, there are some verbs in Old Church Slavonic that end in 'сь' but are not reflexive)
35-
if node.upos == 'VERB' and (node.form.endswith('сь') or node.form.endswith('ся')) and self.lang == 'uk':
34+
if node.upos == 'VERB' and (node.lemma.endswith('сь') or node.lemma.endswith('ся')):
3635
node.feats['Voice'] = 'Mid'
3736

3837
# makedonstina tvori budouci cas pomoci pomocneho slova ќе, u nejz neni nijak vyznaceno, ze se podili na tvorbe budouciho casu
@@ -72,5 +71,9 @@ def process_node(self,node):
7271
if node.feats['Mood'] == 'Sub':
7372
node.feats['Mood'] = 'Cnd'
7473

74+
# # although infinitives in Old Church Slavonic are annotated with Tense=Pres, they do not convey tense; therefore, we remove this annotation
75+
if node.feats['VerbForm'] == 'Inf':
76+
node.feats['Tense'] = ''
77+
7578
# TODO maybe we want to set Tense=Fut for the perfective verbs with Tense=Pres? This could solve the problem with the simplified detection of the future tense in Czech
7679
# but there are many verbs with no Aspect value, so the problem is still there

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy