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

Generating affixed words #37

Open
ShawnPConroy opened this issue Oct 22, 2020 · 0 comments
Open

Generating affixed words #37

ShawnPConroy opened this issue Oct 22, 2020 · 0 comments
Labels
enhancement New feature or request

Comments

@ShawnPConroy
Copy link
Collaborator

Affixed words not yet in the spreadsheet as entries should nevertheless be identified by the dictionary.
For example, the word "royayen" (dreamer) is not in the spreadsheet.

But perhaps you could find a way to code the dictionary so that when entering "royayen" instead of finding no results the dictionary could attempt to identify the string of letters as an affixed word. If an exact match is found, perfect, the entry appears... otherwise, the code would go one letter at a time and try to find a match. r... nothing... ro... nothing... roy... nothing... roya... bingo!... y... nothing... ye... nothing... yen... bingo!: roya-yen. This might be slow though or we might run into problems with shorter words, so once you're ready to work on this, please consult with me so I can guide on possible pitfalls.

The first pitfall I can see is that the code would need to ignore the hyphen in affixes. -yen is in the spreadsheet, but in order for the code to identify it as a wordpart it would have to ignore the hyphen.

The result generated by the dictionary would be: roya-yen with both roya and yen as clickable so that the user could refer to the meanings of those wordparts and thereby infer the meaning of the entire word: roya-yen (dream - person) --> dreamer.

Super adds:

Identifying any affixed word, no matter how illogical the meaning, would be very useful for letting people know that it's an actual Globasa word. That'd also help with finding minimal pairs.

@ShawnPConroy ShawnPConroy added the enhancement New feature or request label Oct 22, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant