Comments (5)
Take a look at my library "predictionary": https://asterics.github.io/predictionary/demo/
It uses a dictionary of the most common words for basic prediction and stores already typed sentences in order to suggest/predict them, if typed again.
from freespeech.
Actually know a little bit about this! So basic prediction software uses something called Markov chains, which are basically a probabilistic state machine (kinda like what XState does but where you move randomly from one state to another via a probability). Keyboard prediction tools set each word as a node in the state machine, then go through each node and use some counting algorithm to link each node to words that come after that node and assign probabilities to it. This is usually done by analyzing a bunch of text. So for instance, if a computer analyzed text and saw the word 'hot' and saw the word 'dog' coming after it a lot, the link between 'hot' and 'dog' would get a higher probability. Still a bit rusty on how exactly those probabilities are assigned though. Hope this helps!
from freespeech.
I'd love it if we could find this as a docker image, that'd help a lot (or even basic thing like only word completion would also help initially)
from freespeech.
from freespeech.
but won't we need to store some data? (or you mean get the predefined data and load the whole thing on js?)
because if we store the data that'd mean it'll get better the more you use it.
from freespeech.
Related Issues (20)
- Create a landing page
- Docs page HOT 1
- Community / Toolbox features HOT 1
- Fill in uncompleted endpoints in the API HOT 1
- Connect AWS cloud voices
- Delete the old project thumbnail when it gets replaced
- Connect Google cloud voices
- Connect Azure cloud voices
- Write UI and backend tests
- look into relying less on tailwind colors for UI and using custom named colors like "bg-surface-x" HOT 1
- Add animation to dropdown
- Add animation when modal pops up
- Add profile page where user can edit profile settings
- Add app settings
- Add explore page to search public projects
- Create a configuration file to disable AWS, Azure, and Google connects, maybe even a self-host solution
- Add sentence creation
- Please add the ability to copy your end result HOT 1
- obf file importing
- obz file importing
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from freespeech.