Skip to content

Commit

Permalink
v1.2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
jimichan committed Sep 12, 2018
1 parent a186693 commit bf15abc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/com/mayabot/mynlp/fasttext/FastText.kt
Original file line number Diff line number Diff line change
Expand Up @@ -397,7 +397,7 @@ class FastText(internal val args: Args,
*/
@JvmOverloads
@JvmStatic
fun loadModel(modelPath: String, mmap: Boolean = true): FastText {
fun loadModel(modelPath: String, mmap: Boolean = false): FastText {
val dir = File(modelPath)

if (!dir.exists() || dir.isFile) {
Expand Down

0 comments on commit bf15abc

Please sign in to comment.