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

Introducing Word Weighting based on parent-child word relationship and recently used words [Proof of Concept] #87

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

Theclaws
Copy link

@Theclaws Theclaws commented Aug 20, 2017

These changes introduce the following:

  • Adds concept of parent-child word relationship and increasing weight of word based on that.
  • Adds weighting for single words and for parent-child word relationship, based on how recently they were used.
  • Adds new feature to bulk learn from words in the clipboard (can be used to quickly build parent-child word relationship).
  • Small UI change to show Tray Balloon when force adding a new word to provide visual feedback.

Notes:

This can be used with existing Wordlist.txt and WordlistLearned.txt files. But existing WordlistLearned.db and WordlistLearned.db-journal files should be removed as there is no upgrade path coded yet.

Still to do?

Should this be accepted, then a new database version needs to added and upgrade functions added.
A new delete functionality would need to be added to take care of deleting word relationships when a single word is deleted.

@Theclaws Theclaws changed the title Introducing Word Weighting by Recent Usage + [Proof of Concept] Introducing Word Weighting based on parent-child word relationship and recently used words [Proof of Concept] Aug 20, 2017
Word table now has new primary key that uniquely identifies each value (old primary key converted to index and constraints)
WordRelations table now uses Word table primary key to refer to words instead.
New view added (VW_WordRelations) to view WordRelations table with word instead of index.
Word table now has new primary key that uniquely identifies each value (old primary key converted to index and constraints)
WordRelations table now uses Word table primary key to refer to words instead.
New view added (VW_WordRelations) to view WordRelations table with word instead of index.
@Theclaws
Copy link
Author

Theclaws commented Sep 7, 2017

Added code and table definition to remove WordRelations values that are no longer available in Words table.
Word table now has new primary key that uniquely identifies each value (old primary key converted to index and constraints)
WordRelations table now uses Word table primary key to refer to words instead.
New view added (VW_WordRelations) to view WordRelations table with word instead of index.

@Theclaws
Copy link
Author

Theclaws commented Sep 7, 2017

Two observations with this release is that Bulk Learn can be sluggish and at times, depending on Window/App focus, the bulk learn can halt (I suspect this has to do with programs TypingAid has been configured to learn from in my personal settings).

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

Successfully merging this pull request may close these issues.

1 participant