-
-
Notifications
You must be signed in to change notification settings - Fork 4
Place names, locative case
Mika Hämäläinen edited this page Aug 12, 2020
·
4 revisions
Syntax maker can automatically pick the right case for place names when you use them through the add_advlp_to_vp method. The possible values for place_type are in, to and from depending on the directionality of the movement with respect to the place name.
vp = create_copula_phrase()
subject = create_phrase("NP", "koira", {u"PERS": "3", u"NUM": "SG"})
predicative = create_phrase("NP", "Venäjä")
vp.components["subject"] = subject
add_advlp_to_vp(vp, predicative, place_type="in")
print(str(vp))
>>koira on Venäjällä