6.6.2 - Alpha - 精简打包应用模板 APK 文件大小
This commit is contained in:
@@ -9,7 +9,7 @@ class JiebaSegmenter(context: Context) {
|
||||
|
||||
val dictionary by lazy { WordDictionary.getInstance(context) }
|
||||
|
||||
private val finalSeg = FinalSeg.instance
|
||||
private val finalSeg by lazy { FinalSeg.instance }
|
||||
|
||||
enum class SegMode { INDEX, SEARCH }
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@ import android.content.Context
|
||||
|
||||
open class WordDictionaryDatabase private constructor(context: Context): DictionaryDatabase(context) {
|
||||
|
||||
override val databaseName = "dict.db"
|
||||
override val databaseName = "dict-chinese-words.db"
|
||||
|
||||
companion object {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user