Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Add ability to choose between homographs #2

Open
mark-petersen opened this issue Jan 4, 2017 · 1 comment
Open

Add ability to choose between homographs #2

mark-petersen opened this issue Jan 4, 2017 · 1 comment

Comments

@mark-petersen
Copy link
Owner

Homographs are words that are spelled the same in standard spelling, but sound different:
I read now but read yesterday -> I reed now but red yesterday.
SimplifiedSpelling should be able to tell the difference.

@mark-petersen
Copy link
Owner Author

Alan already made a file, named fonetic.hm. I'm adding that to the repo now.

From Alan:
I think this is easy to figure out. read,reed,red
has,widely,best,well,were,have,had,he,i,that,himself,was,having,just,be,she,yet
hadn't,is,been,he'd,she'd,who,it,most,being,are,as,already,they've,he's
she's,you've,we've,hasn't,i've,|

Read is replaced by red if preceded by has, widely etc; else by reed.

There may be another version of this file under diam***

From Mark:
OK, great. Let me summarize to make sure I understand:

format:
standardWord,translateWord1,translateWord2
{previousWordList}|
{nextWordList}|

If the previous word is in {previousWordList} OR if next word is in {nextWordList}
then substitute standardWord with translateWord2
else
substitute standardWord with translateWord1

Does that look right?

From Alan:
I guess. Though I can't recall any instance of the following word deciding how the present word should be rendered, only the preceding word.

Read is the word to be translated, reed and red are the choices, and previous words such as had, have, widely etc. determine read should be red., else reed.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant