Golang bindings to the fasttext library.
To perform a prediction on a model, use the following command
go run main.go prediction -m [model_path] [query]
For example
go run main.go predict -m ~/Downloads/ag_news.bin chicken
Golang bindings to the fasttext library.
To perform a prediction on a model, use the following command
go run main.go prediction -m [model_path] [query]
For example
go run main.go predict -m ~/Downloads/ag_news.bin chicken
University of Illinois/NCSA Open Source License