question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Canonical homophone is always the longest word

See original GitHub issue

https://github.com/knausj85/knausj_talon/blob/ffeaa0269487510e99db11e7d8bcefe05157b135/code/homophones.py#L38

Per discussion in #help, phones is picking the longest word of a set as the canonical. Proposed alteration is canonical_list.append(words[0]) and then sorting the sets of homophones by frequency and possibly length.

https://talonvoice.slack.com/archives/C7ENXA7C4/p1609792196126300

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
rntzcommented, Jan 5, 2021

The word frequency list is at https://bochs.info/~aegis/popular-words.txt (for future reference in case it leaves slack history)

0reactions
beretcommented, Jan 12, 2021

I’m going to close this as resolved for now. The plan on dynamic updating of phones priority is cool, and probably best addressed as a new broader issue IMHO.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Homophones | Thuum.org - The Dragon Language Dictionary
Homophones are pretty rare since there's a small vocabulary and by-the-book pronunciation keeps similarly spelled words unique (e.g. aak and ...
Read more >
Longest Homophones Word Puzzle - Google Groups
Define "longest" to mean the most letters in the two words combined. For example, the pair of homophones "meat" and "meet" has 8...
Read more >
"One I first saw": more on homophonically induced typing errors
I've been amused by my own typos, and have collected them over many years. Most are homophones or close-homophones (e.g. "written" for "ridden"; ......
Read more >
What is a term for words that are both homophones and ...
In linguistics, a homonym is, in the strict sense, one of a group of words that share the same spelling and the same...
Read more >
What Homophones Say about Words | PLOS ONE
This is explained in a theory of homophones in which two words, with different meanings, share the same form: one cannot use a...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found