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

distance in words needs better support for positive and negative intervals #885

Open
axos88 opened this issue Jan 13, 2020 · 0 comments
Open

Comments

@axos88
Copy link

axos88 commented Jan 13, 2020

Like x hours ago vs in x hours.

In English it's can be extended with a little bit of hacking by adding the ago and in words to the beginning or the end of the sentence, but it causes issues when localized to other languages.

In hungarian for example it would be "x órája" or "x órával ezelőtt" for past and "x óra múlva" for future. Notice how the inflections are different for "óra" based on wether it's in the past or the future.

It's also weird that the "ago" and "in" words are not included in the generated text.

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