feat: Prepare TrieMetadata and new stemmer data integration

This commit is contained in:
2026-04-23 20:21:46 +02:00
parent a9d15fa3ae
commit 4d939f5b6e
77 changed files with 3024 additions and 179778 deletions

View File

@@ -116,6 +116,14 @@ tasks.withType(Test).configureEach {
jvmArgs "-javaagent:${configurations.mockitoAgent.singleFile}"
}
/*
* Bundled dictionary integration tests compile and reload large real-world
* stemming dictionaries, including large language resources such as es_es.
* The default Gradle test executor heap is too small for this workload.
*/
minHeapSize = '1g'
maxHeapSize = '4g'
finalizedBy(tasks.named('jacocoTestReport'))
reports {
@@ -192,6 +200,13 @@ application {
executableDir = 'bin'
}
tasks.register('stemmerKnowledgeExperiment', JavaExec) {
group = 'application'
description = 'Runs the stemmer knowledge evaluation experiment.'
classpath = sourceSets.main.runtimeClasspath
mainClass = 'org.egothor.stemmer.StemmerKnowledgeExperimentCli'
}
distributions {
main {
distributionBaseName = 'radixor'