Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add future verb extraction to actions widget #93

Open
ThijsVroegh opened this issue Sep 10, 2024 · 0 comments
Open

Add future verb extraction to actions widget #93

ThijsVroegh opened this issue Sep 10, 2024 · 0 comments
Assignees

Comments

@ThijsVroegh
Copy link
Collaborator

ThijsVroegh commented Sep 10, 2024

In addition to the currently available past and present verbs, future verbs need to be added (i.e., future present). In Dutch, this refers to the "onvoltooid tegenwoordige toekomende tijd". For this, we need to consider the groupings of verbs: 'auxilary verb 'zullen' together with the 'infinitief' (i.e., hele werkwoord). We then cover the complete scope of past, present and future.

Example:

One example with regard to the identification of the future, we could make a simple rule to classify a sentence:
Future tense = yes if lemma of the auxiliary verb (AUX) in the pv (persoonsvorm)= zullen and this verb is related in head to an infinite verb later in the sentence. (based on https://e-ans.ivdnt.org/topics/pid/ans02040805lingtopic)

doc = nlp(“Ik zal naar Frankrijk gaan”).
for token in doc:
print(token.text, token.lemma_, token.head, token.pos_, token.dep_, token.tag_, token.ent_type_)

Ik ik gaan PRON nsubj VNW|pers|pron|nomin|vol|1|ev
zal zullen gaan AUX aux WW|pv|tgw|ev
naar naar Frankrijk ADP case VZ|init
Frankrijk Frankrijk gaan PROPN obl N|eigen|ev|basis|onz|stan GPE
gaan gaan gaan VERB ROOT WW|inf|vrij|zonder
. . gaan PUNCT punct LET

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant