All Projects → high-moctane → nextword

high-moctane / nextword

Licence: MIT license
Predict next English words.

Programming Languages

go
31211 projects - #10 most used programming language

Projects that are alternatives of or similar to nextword

Semantic-Textual-Similarity
Natural Language Processing using NLTK and Spacy
Stars: ✭ 30 (-53.85%)
Mutual labels:  english
geospatial-python
Introduction to Geospatial Raster and Vector Data with Python
Stars: ✭ 107 (+64.62%)
Mutual labels:  english
docker-introduction
Reproducible Computational Environments using Containers
Stars: ✭ 34 (-47.69%)
Mutual labels:  english
transliteration-php
🇺🇦 🇬🇧 🔡 🐘 PHP library for transliteration.
Stars: ✭ 34 (-47.69%)
Mutual labels:  english
grammarly-editor
Purify Grammarly editing experience
Stars: ✭ 16 (-75.38%)
Mutual labels:  english
deep-learning-intro
Learn Deep Learning with Python
Stars: ✭ 23 (-64.62%)
Mutual labels:  english
styles
Styles for The Carpentries lessons. No README to avoid merge conflicts with lessons. Demo 👇
Stars: ✭ 72 (+10.77%)
Mutual labels:  english
English-Persian-Word-Database
English Persian Word Database - Popular database extensions
Stars: ✭ 19 (-70.77%)
Mutual labels:  english
r-novice-inflammation
Programming with R
Stars: ✭ 142 (+118.46%)
Mutual labels:  english
sql-novice-survey
Databases and SQL
Stars: ✭ 59 (-9.23%)
Mutual labels:  english
EnglishStu
英语学习软件,集成有道翻译、科大讯飞,有翻译、朗读示例、阅读评测功能
Stars: ✭ 27 (-58.46%)
Mutual labels:  english
subtlex-word-frequencies
A list of words from the SUBTLEX movie subtitles corpus, sorted by frequency.
Stars: ✭ 25 (-61.54%)
Mutual labels:  english
python-packaging-publishing
Packaging and Publishing with Python
Stars: ✭ 24 (-63.08%)
Mutual labels:  english
nim-presentation-slides
Nim Presentation Slides and Examples.
Stars: ✭ 30 (-53.85%)
Mutual labels:  english
ap-style-title-case
Convert a value to AP/APA title case
Stars: ✭ 34 (-47.69%)
Mutual labels:  english
say-it
TTS in command line -- Pronounce the Chinese and English words you typed in.
Stars: ✭ 19 (-70.77%)
Mutual labels:  english
sql-ecology-lesson
Data Management with SQL for Ecologists
Stars: ✭ 37 (-43.08%)
Mutual labels:  english
cpwp
Chinese Programmer Wrong Pronunciation
Stars: ✭ 42 (-35.38%)
Mutual labels:  english
introduction-to-conda-for-data-scientists
Introduction to Conda for (Data) Scientists
Stars: ✭ 35 (-46.15%)
Mutual labels:  english
almanca
Almanca dilbilgisi ve gramer notlari / Lesson notes I have taken to learn the German language beginning from A1.
Stars: ✭ 15 (-76.92%)
Mutual labels:  english

Nextword

🎉 NEW PREDICTION ENGINE MOCWORD IS AVAILABLE 🎉

Mocword is more advanced engine than Nextword.

  • Less data file size
    • 1.63GB (Nextword) -> 655MB (Mocword)
  • Using latest Google Ngram dataset
    • 2012 data (Nextword) -> 2020 data (Mocword)
  • More appropriate prediction
  • Less noisy vocabularies

Predict a next English word.

gif

Installing

  1. [IMPORTANT] Install Nextword-data (https://github.com/high-moctane/nextword-data)

  2. Visit Releases page and download an appropriate binary for your architecture.

    NOTE: You can also compile this project manually if you want.

    $ go get -u github.com/high-moctane/nextword
    

Usage

$ nextword -h
Nextword prints the most likely English words that follow the stdin sentence.

Usage of /Users/moctane/go/bin/nextword:
  -g
    	show as many result as possible
  -n
    	max candidates number (default 10)
  -d string
    	path to the data directory (default "/path/to/nextword-data")
  -h	show this message
  -v	show version

You need to install nextword-data and set "NEXTWORD_DATA_PATH" environment variable.
It available at https://github.com/high-moctane/nextword-data

The result depends on whether the input string ends with a space character.
If the string does not end with a space, nextword will print candidate words which
begin the last word in the sentence.

Example:
	input:  "Alice was "
	output: "not a the in still born very so to beginning too at sitting ..."

	input:  "Alice w"
	output: "was would were went with will who wrote when wants ..."

Testing

For testing, you need to install nextword-data LARGE version and set NEXTWORD_TEST_DATA_PATH environment variable in advance.

$ go test

License

MIT

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].