Skip to content

Commit

Permalink
Updating the number of language classes + Add the fasttextgo library
Browse files Browse the repository at this point in the history
  • Loading branch information
Estelle Maudet committed Jul 18, 2018
1 parent d40b099 commit 849d5b0
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/index/language_detection.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ func (f *FastText) GetLanguage(sentence string) (string, error) {
if f.ft == nil {
return "", errors.New("Predict called on closed FastText")
}
preds, err := f.PredictK(sentence, 164)
preds, err := f.PredictK(sentence, 176)
if err != nil {
fmt.Println(err)
return "", err
Expand Down
Binary file added pkg/index/libfasttextgo.a
Binary file not shown.

0 comments on commit 849d5b0

Please sign in to comment.