Skip to content

Commit

Permalink
o
Browse files Browse the repository at this point in the history
  • Loading branch information
bung87 committed Sep 26, 2018
1 parent 0291814 commit f8d0a34
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions tests/testlang.nim
Expand Up @@ -3,8 +3,9 @@ import nimfastText/fasttext
import os
import streams

var ft = constructFastText()

let langModel = unixToNativePath("tests" / "lid.176.ftz")
var ft:FastText

ft.loadModel(langModel)
const langModel:cstring = unixToNativePath("tests" / "lid.176.ftz")

ft.loadModel( constructStdString(langModel) )

0 comments on commit f8d0a34

Please sign in to comment.