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

Include the hyphen in zekwä-äo, kato-o, etc. #132

Open
Willem3141 opened this issue Mar 24, 2024 · 5 comments
Open

Include the hyphen in zekwä-äo, kato-o, etc. #132

Willem3141 opened this issue Mar 24, 2024 · 5 comments
Labels
bug Something that should be fixed server Having to do with Reykunyu's server side (the word lookup code and API)

Comments

@Willem3141
Copy link
Owner

Reykunyu doesn't include the hyphen, which means that it doesn't find anything for zekwä-äo and instead marks zekwääo as correct.

@Willem3141 Willem3141 added bug Something that should be fixed server Having to do with Reykunyu's server side (the word lookup code and API) labels Mar 24, 2024
@Willem3141
Copy link
Owner Author

This is annoying because conjugation strings use "-" to separate parts, and so if we just try to insert "-" for zekwä-äo etc., it will confuse the conjugation string code.

@Willem3141
Copy link
Owner Author

Probably the best solution is to change the conjugation strings to use another separator than "-".

@lizardgai4
Copy link

lizardgai4 commented Apr 2, 2024

The way I made fwew-lib do it:

  1. Hardcode a map of all vowel-initial adpositions to their first letters
  2. If it finds an adposition, remove it from the front of a string
  3. If the remaining string ends with the vowel followed by a hyphen, remove the hyphen

That way, it will recognize zekwä-äo and fya'o-o, but not arbitrarily placed hyphens or tokx-äo

@Willem3141
Copy link
Owner Author

Willem3141 commented Apr 4, 2024

With the way Reykunyu works, this is actually quite simple to implement (check if vowels are the same and if so add -; then for parsing simply ignore - altogether). The annoying thing is that Reykunyu uses - internally and hence adding - would confuse everything. This is easily fixed by changing - to something else for internal use... it's just annoying work that needs to be done 🙂

@lizardgai4
Copy link

https://en.wikipedia.org/wiki/Wikipedia:Hyphens_and_dashes

There are ways to make things that look like hyphens but are different to a computer. It might help

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something that should be fixed server Having to do with Reykunyu's server side (the word lookup code and API)
Projects
None yet
Development

No branches or pull requests

2 participants