anaksor-ocr
Sokheng · Kit
Reads Khmer and English text from documents, receipts and photos of signs, using a detector for text lines and a recogniser for each line. Suits developers who…
Suggests the rest of a word, or the next one, as you type in a Hiligaynon-English dictionary search box, using a small fine-tuned Gemma model. A demo for language learners and developers.
Batwan Predictive Text is a kit in the Education category, listed by Mindket. It is free. This is version 1, last updated on . Download it on this page, a zip of its files. Nothing in it runs by itself.
pip install -U huggingface_hub hf download alsersugasawa/batwan-predictive-text --repo-type space --local-dir batwan-predictive-text cd batwan-predictive-text
This Space is a search box that predicts the rest of what you type, built for the Batwan Hiligaynon-English dictionary. It offers the rest of the current word or, after a space, the next word. The best guess appears as grey text after your cursor, and other guesses sit under the box.
It suits learners of Hiligaynon and the developers of dictionary or search sites who want to see predictive text on a small language. The README calls it a demo and rules out commercial use.
| Industry | Who uses it | How they use it | Example |
|---|---|---|---|
| Education | Hiligaynon learners | Get help finishing words in a dictionary search | Type the start of a word and read the guesses |
| Software | Search developers | Study a predictive search box backed by a small model | Call the suggest endpoint with a short query |
| Language tech | Researchers | Look at a fine-tuned model on a dictionary dataset | Read how a suggestion is scored |
| Publishing | Dictionary editors | Judge whether guesses fit the dictionary's own words | Compare guesses with the headwords |
Anyone who wants predictive text for a commercial product can skip it, since the README says it is only a showcase.
The demo runs in three places.
| Use case | Who | What they get back |
|---|---|---|
| Word completion | Learners | The rest of the word you are typing |
| Next-word guess | Learners | A likely next word after you type a space |
| Suggestion API | Developers | A list of suggestions with a score for each |
The online page needs nothing installed. A local copy needs the following.
pip install -U huggingface_hub hf download alsersugasawa/batwan-predictive-text --repo-type space --local-dir batwan-predictive-text cd batwan-predictive-text docker build -t batwan-predictive-text . docker run -it -p 7860:7860 batwan-predictive-text
Type into the search box. The best guess shows as grey text, and pressing Tab takes it. The other guesses appear under the box. After a space, the box guesses the next word.
| Tool | What it does |
|---|---|
| Search box | Shows the best guess in grey and the others below it |
| Tab key | Accepts the grey suggestion |
| Suggest endpoint | Takes q, lang, limit and words and returns suggestions with scores |
| q | The text typed so far, up to 100 characters, with a final space asking for the next word |
| lang | any, hil or en, the dictionary's search directions |
| limit | How many suggestions come back, 1 to 8, with 3 as the default |
| words | Extra words a suggestion may run on for, 0 to 3, with 0 as the default |
You type maayong a into the box. The grey text completes it to maayong aga, and a few other guesses show under the box, each one ranked by the model.
If you are new to this, think of the suggestions on a phone keyboard. Type a few letters of a Hiligaynon word and watch the grey text, then press Tab to accept it.
If you know the field, the model is a LoRA fine-tune of Gemma 4 E2B, at 3 GB in Q4_K_M. It trained on search queries built from the dictionary's words, their English, phrases and AI-mode questions. A suggestion takes three steps. Token healing finds the word being typed, the three likeliest paths branch one token further, and the best three finish the word. Scores use the model's own top-k probabilities, and each suggestion is rated as a fraction of everything the search turned up.
Suggestions take about two seconds on the free tier, because the model writes only a handful of tokens a second on two CPU cores. If you keep typing, the older pending request is dropped.
Suggests the rest of a word, or the next one, as you type in a Hiligaynon-English dictionary search box, using a small fine-tuned Gemma model. A demo for language learners and developers.
Made by alsersugasawa on Hugging Face. These notes are Mindket's, written from its Space page and README; the app's own files and license are on Hugging Face.
What it is: This Space is a search box that predicts the rest of what you type, built for the Batwan Hiligaynon-English dictionary. It offers the rest of the current word or, after a space, the next word. The best guess appears as grey text after your cursor, and other guesses sit under the box.
Who it suits: It suits learners of Hiligaynon and the developers of dictionary or search sites who want to see predictive text on a small language. The README calls it a demo and rules out commercial use.
Industry | Who uses it | How they use it | Example
Education | Hiligaynon learners | Get help finishing words in a dictionary search | Type the start of a word and read the guesses
Software | Search developers | Study a predictive search box backed by a small model | Call the suggest endpoint with a short query
Language tech | Researchers | Look at a fine-tuned model on a dictionary dataset | Read how a suggestion is scored
Publishing | Dictionary editors | Judge whether guesses fit the dictionary's own words | Compare guesses with the headwords
Anyone who wants predictive text for a commercial product can skip it, since the README says it is only a showcase.
Where to use it: The demo runs in three places.
Use case | Who | What they get back
Word completion | Learners | The rest of the word you are typing
Next-word guess | Learners | A likely next word after you type a space
Suggestion API | Developers | A list of suggestions with a score for each
How to set it up: The online page needs nothing installed. A local copy needs the following.
pip install -U huggingface_hub
hf download alsersugasawa/batwan-predictive-text --repo-type space --local-dir batwan-predictive-text
cd batwan-predictive-text
docker build -t batwan-predictive-text .
docker run -it -p 7860:7860 batwan-predictive-text
How to use it: Type into the search box. The best guess shows as grey text, and pressing Tab takes it. The other guesses appear under the box. After a space, the box guesses the next word.
Tool | What it does
Search box | Shows the best guess in grey and the others below it
Tab key | Accepts the grey suggestion
Suggest endpoint | Takes q, lang, limit and words and returns suggestions with scores
q | The text typed so far, up to 100 characters, with a final space asking for the next word
lang | any, hil or en, the dictionary's search directions
limit | How many suggestions come back, 1 to 8, with 3 as the default
words | Extra words a suggestion may run on for, 0 to 3, with 0 as the default
Example: You type maayong a into the box. The grey text completes it to maayong aga, and a few other guesses show under the box, each one ranked by the model.
For newcomers and experts: If you are new to this, think of the suggestions on a phone keyboard. Type a few letters of a Hiligaynon word and watch the grey text, then press Tab to accept it.
If you know the field, the model is a LoRA fine-tune of Gemma 4 E2B, at 3 GB in Q4_K_M. It trained on search queries built from the dictionary's words, their English, phrases and AI-mode questions. A suggestion takes three steps. Token healing finds the word being typed, the three likeliest paths branch one token further, and the best three finish the word. Scores use the model's own top-k probabilities, and each suggestion is rated as a fraction of everything the search turned up.
You type in the search box
Token healing finds the current word
Three likeliest paths branch out
The best three finish the word
Guesses show in grey and below
Good to know: Suggestions take about two seconds on the free tier, because the model writes only a handful of tokens a second on two CPU cores. If you keep typing, the older pending request is dropped.
Open the Space in your browser, or copy it to your own Hugging Face account from its page. Nothing in this kit runs by itself.
README.md 5 KB
Sokheng · Kit
Reads Khmer and English text from documents, receipts and photos of signs, using a detector for text lines and a recogniser for each line. Suits developers who…
Qwen · Kit
Qwen2.5-7B-Instruct as GGUF files in eight quantization sizes, to chat with locally through llama.cpp. For people who want a capable 7.6B model on their own co…
ACE-Step · Kit
Generates music from text with a 4B diffusion decoder, 50 steps and guidance control, aiming for higher audio quality than the base. For creators with a GPU of…
prathoshap · Kit
Reads classical Sanskrit verses aloud in a chant style, using one trained voice and a reference clip that sets the rhythm. For people who study, recite or need…
paradigma-inc · Kit
Solves hard math problems with a 1B-parameter model trained from scratch for fast, high-volume reasoning. It suits developers who run math workloads on an NVID…
murai-labs · Kit
Chats in Tamil script, romanized Tamil and English, and translates between Tamil and English. A 2.5B model built from scratch by Murai Labs, for Tamil speakers…