-
Notifications
You must be signed in to change notification settings - Fork 23
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
ignore
parameter
#5
Comments
Unless we can think of a popular use case, or this is trivial to implement, it may be better to leave something like this for last. |
@Gallaecio one use case is probably words like 'two second', 'a second' which @noviluni mentioned in #6 , where we don't want to parse second as 2nd. Of course, we should handle most of these ambiguous cases within the main logic, but as we expand to more languages this option might be useful. |
Yeah, this idea came from this example: omitting "second". It could be also useful if we start accepting some sentences like "one and a quarter" (1.25) as "quarter" it's also a verb or a noun "the first quarter". However, it's not necessary to implement this now. We should first accept multiple languages and then see how can we add specific rules for different languages, so we don't need to develop this now, it can be postponed. 👍 |
Can we store the usual words like quarter, half separately and use them whenever required. |
I’m not even sure if this is a good idea to implement this. My thinking is:
|
I think it could be really cool to add an optional parameter to ignore some words.
Example:
or
The text was updated successfully, but these errors were encountered: