Skip to content

toki pona word vector embeddings, and games based thereupon

Notifications You must be signed in to change notification settings

chrisamaphone/nimi2vec

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nimi2vec, aka semantemusi

An implementation of "semantle" (see https://semantle.novalis.org/) for the Toki Pona conlang (see https://tokipona.org/).

Usage:

$ python3
>>> exec(open('semantemusi.py').read())
>>> guess('your_guess')

Returns a number between 0-1 for similarity. The target word is stored in a variable secret_word, so you can cheat and look at it, or poke around with other model queries, like model.most_similar(secret_word).

Corpus sources:

If you want to (re)train on these corpora or your own, you can use the (included) train-models.py file, or save your own trained models in the models/ folder (in word2vec KeyedVectors format).

About

toki pona word vector embeddings, and games based thereupon

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages