word similarity

This commit is contained in:
gcw_4spBpAfv
2026-04-21 23:05:59 +08:00
parent e23aaaa4ba
commit 1550783eef
36 changed files with 44822 additions and 12 deletions

View File

@@ -4,10 +4,24 @@ plugins {
id 'kotlin-kapt'
}
kapt {
// Room uses javac stubs under kapt; keep parameter names for :bind variables.
javacOptions {
option("-parameters")
}
}
android {
namespace 'com.digitalperson'
compileSdk 34
sourceSets {
main {
// app/note/ref → assets 中为 ref/...(与 AppConfig.RefCorpus.ASSETS_ROOT 一致)
assets.srcDirs = ['src/main/assets', 'note']
}
}
buildFeatures {
buildConfig true
}
@@ -100,4 +114,9 @@ dependencies {
implementation project(':tuanjieLibrary')
implementation files('../tuanjieLibrary/libs/unity-classes.jar')
// BGE tokenizer (BasicTokenizer) + SimilarityManager 批量相似度测试
implementation 'com.google.guava:guava:31.1-android'
implementation 'org.ejml:ejml-core:0.43.1'
implementation 'org.ejml:ejml-simple:0.43.1'
}