Detecting future tense using morphological features #2767
-
Feature descriptionI am trying to use morphological features to determine tense of text like "is rising", "has risen", "will rise". Some examples would be:
As seen above, 'Tense' is populated for the root with 'pres' and 'past' but not 'fut'. It looks like tag_map.py is used to assign the morphological features based on POS tag. There are also some exception rules defined in morph_rules.py. However, I do not see 'Tense' value of 'fut' included for any of the POS tags in those files. I am right in assuming that setting Tense to 'fut' is not implemented ? Is this a feature that could be added or am I doing something wrong ? Your Environment
Could the feature be a custom component or spaCy plugin?Unknown |
Beta Was this translation helpful? Give feedback.
Replies: 12 comments 2 replies
-
You're not doing anything wrong, neither there is anything wrong with the SpaCy output here. The verb will is a modal auxiliary, and it does not have a tense. Indeed, English has 2 morphological tenses (you can read more here: https://en.wikipedia.org/wiki/Grammatical_tense#English), the present and the past. In general, the tense concept is about the sentence, not about the individual words. ( A great resource on this subject: https://plato.stanford.edu/entries/tense-aspect/ ) Summary: if you're interested in sentence tense, mix both POS tags and the words themselves in general. For your case Future tense: will/shall + a infinitive verb Then look for the pattern word1 word2 where By the way, Proto-Germanic had no future tense. Future tense is a new invention compared to the past and present tenses. That's why people had to invent a way of expressing future from existing words/forms. |
Beta Was this translation helpful? Give feedback.
-
@DuyguA Thanks for this information which is very useful. I will experiment further with this but am trying to avoid the need to have a list of 'future words' as there could be other scenarios e.g. 'should rise', 'could rise', 'to rise' etc. There are also forms like 'is expected to rise' which seem more complex to handle . |
Beta Was this translation helpful? Give feedback.
-
/That's correct. Detecting the fututre tense can be tricky in the absence of will. |
Beta Was this translation helpful? Give feedback.
-
It relates to determining if facts are checkable. We could check "Inflation rose by 0.2% in 2016" but not "Inflation will rise by 0.2% in 2020". |
Beta Was this translation helpful? Give feedback.
-
Looks tricky. Then one has to know synonyms of "expected to..", "known to", "foreseen to"... I can ask our in-house analytical linguist meanwhile and return a more concrete answer 😉 |
Beta Was this translation helpful? Give feedback.
-
Have you found any way to detect future tenses? |
Beta Was this translation helpful? Give feedback.
-
Checking tense was not 'past' or 'pres' seemed to work OK in practice but I would imagine not in all cases. |
Beta Was this translation helpful? Give feedback.
-
Hello, I have a problem with the import: I dont know how to solve it: (see image) |
Beta Was this translation helpful? Give feedback.
-
Can you bring the cursor onto |
Beta Was this translation helpful? Give feedback.
-
This is the message: Attempted relative import beyond top-level packagepylint(relative-beyond-top-level) Thanks for your help. |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
Thanks for your help. I solved it. |
Beta Was this translation helpful? Give feedback.
You're not doing anything wrong, neither there is anything wrong with the SpaCy output here.
The verb will is a modal auxiliary, and it does not have a tense. Indeed, English has 2 morphological tenses (you can read more here: https://en.wikipedia.org/wiki/Grammatical_tense#English), the present and the past. In general, the tense concept is about the sentence, not about the individual words. ( A great resource on this subject: https://plato.stanford.edu/entries/tense-aspect/ )
As you see, no such thing as 'future tense verb' or 'future tense modal verb' exists. Future tense is formed by some conventions: use a modal will/shall followed by an infinitive verb.
Summary: if you're interested…