dweiss / compound-splitter Goto Github PK
View Code? Open in Web Editor NEWLicense: Other
License: Other
I've cloned the latest commit ebaa47f. I get the following errors.
$ mvn
[INFO] Scanning for projects...
[WARNING]
[WARNING] Some problems were encountered while building the effective model for com.dawidweiss:compound-splitter:jar:0.0.1-SNAPSHOT
[WARNING] 'dependencies.dependency.systemPath' for org.apache.lucene:lucene-core:jar should not point at files within the project directory, ${basedir}/lib/lucene-core-4.0-SNAPSHOT.jar will be unresolvable by dependent projects @ line 25, column 19
[WARNING]
[WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
[WARNING]
[WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
[WARNING]
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Simple German Compound Splitter 0.0.1-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-resources-plugin:2.3:resources (default-resources) @ compound-splitter ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO]
[INFO] --- maven-compiler-plugin:2.0.2:compile (default-compile) @ compound-splitter ---
[INFO] Compiling 3 source files to /home/leona/git/compound-splitter/target/classes
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 0.914s
[INFO] Finished at: Fri Jan 24 13:42:11 KST 2014
[INFO] Final Memory: 7M/240M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.0.2:compile (default-compile) on project compound-splitter: Compilation failure: Compilation failure:
[ERROR] /home/leona/git/compound-splitter/src/main/java/org/apache/lucene/analysis/de/compounds/GermanCompoundSplitter.java:[12,16] package org.slf4j does not exist
[ERROR]
[ERROR] /home/leona/git/compound-splitter/src/main/java/org/apache/lucene/analysis/de/compounds/GermanCompoundSplitter.java:[13,16] package org.slf4j does not exist
[ERROR]
[ERROR] /home/leona/git/compound-splitter/src/main/java/org/apache/lucene/analysis/de/compounds/GermanCompoundSplitter.java:[31,19] cannot find symbol
[ERROR] symbol : class Logger
[ERROR] location: class org.apache.lucene.analysis.de.compounds.GermanCompoundSplitter
[ERROR]
[ERROR] /home/leona/git/compound-splitter/src/main/java/org/apache/lucene/analysis/de/compounds/GermanCompoundSplitterTokenFilterFactory.java:[7,0] package org.apache.lucene.analysis.util does not exist
[ERROR]
[ERROR] /home/leona/git/compound-splitter/src/main/java/org/apache/lucene/analysis/de/compounds/GermanCompoundSplitterTokenFilterFactory.java:[8,16] package org.slf4j does not exist
[ERROR]
[ERROR] /home/leona/git/compound-splitter/src/main/java/org/apache/lucene/analysis/de/compounds/GermanCompoundSplitterTokenFilterFactory.java:[9,16] package org.slf4j does not exist
[ERROR]
[ERROR] /home/leona/git/compound-splitter/src/main/java/org/apache/lucene/analysis/de/compounds/GermanCompoundSplitterTokenFilterFactory.java:[12,4] cannot find symbol
[ERROR] symbol: class TokenFilterFactory
[ERROR] TokenFilterFactory {
[ERROR]
[ERROR] /home/leona/git/compound-splitter/src/main/java/org/apache/lucene/analysis/de/compounds/GermanCompoundSplitterTokenFilterFactory.java:[13,17] cannot find symbol
[ERROR] symbol : class Logger
[ERROR] location: class org.apache.lucene.analysis.de.compounds.GermanCompoundSplitterTokenFilterFactory
[ERROR]
[ERROR] /home/leona/git/compound-splitter/src/main/java/org/apache/lucene/analysis/de/compounds/GermanCompoundSplitterTokenFilter.java:[4,42] package org.apache.lucene.analysis.compound does not exist
[ERROR]
[ERROR] /home/leona/git/compound-splitter/src/main/java/org/apache/lucene/analysis/de/compounds/GermanCompoundSplitterTokenFilter.java:[6,16] package org.slf4j does not exist
[ERROR]
[ERROR] /home/leona/git/compound-splitter/src/main/java/org/apache/lucene/analysis/de/compounds/GermanCompoundSplitterTokenFilter.java:[7,16] package org.slf4j does not exist
[ERROR]
[ERROR] /home/leona/git/compound-splitter/src/main/java/org/apache/lucene/analysis/de/compounds/GermanCompoundSplitterTokenFilter.java:[10,4] cannot find symbol
[ERROR] symbol: class CompoundWordTokenFilterBase
[ERROR] CompoundWordTokenFilterBase {
[ERROR]
[ERROR] /home/leona/git/compound-splitter/src/main/java/org/apache/lucene/analysis/de/compounds/GermanCompoundSplitterTokenFilter.java:[11,17] cannot find symbol
[ERROR] symbol : class Logger
[ERROR] location: class org.apache.lucene.analysis.de.compounds.GermanCompoundSplitterTokenFilter
[ERROR]
[ERROR] /home/leona/git/compound-splitter/src/main/java/org/apache/lucene/analysis/de/compounds/GermanCompoundSplitter.java:[31,32] cannot find symbol
[ERROR] symbol : variable LoggerFactory
[ERROR] location: class org.apache.lucene.analysis.de.compounds.GermanCompoundSplitter
[ERROR]
[ERROR] /home/leona/git/compound-splitter/src/main/java/org/apache/lucene/analysis/de/compounds/GermanCompoundSplitter.java:[226,32] getBytesReader(int) in org.apache.lucene.util.fst.FST<java.lang.Object> cannot be applied to ()
[ERROR]
[ERROR] /home/leona/git/compound-splitter/src/main/java/org/apache/lucene/analysis/de/compounds/GermanCompoundSplitter.java:[230,32] getBytesReader(int) in org.apache.lucene.util.fst.FST<java.lang.Object> cannot be applied to ()
[ERROR]
[ERROR] /home/leona/git/compound-splitter/src/main/java/org/apache/lucene/analysis/de/compounds/GermanCompoundSplitter.java:[273,33] getBytesReader(int) in org.apache.lucene.util.fst.FST<java.lang.Object> cannot be applied to ()
[ERROR]
[ERROR] /home/leona/git/compound-splitter/src/main/java/org/apache/lucene/analysis/de/compounds/GermanCompoundSplitterTokenFilterFactory.java:[13,30] cannot find symbol
[ERROR] symbol : variable LoggerFactory
[ERROR] location: class org.apache.lucene.analysis.de.compounds.GermanCompoundSplitterTokenFilterFactory
[ERROR]
[ERROR] /home/leona/git/compound-splitter/src/main/java/org/apache/lucene/analysis/de/compounds/GermanCompoundSplitterTokenFilterFactory.java:[21,4] cannot find symbol
[ERROR] symbol : variable super
[ERROR] location: class org.apache.lucene.analysis.de.compounds.GermanCompoundSplitterTokenFilterFactory
[ERROR]
[ERROR] /home/leona/git/compound-splitter/src/main/java/org/apache/lucene/analysis/de/compounds/GermanCompoundSplitterTokenFilterFactory.java:[19,2] method does not override or implement a method from a supertype
[ERROR]
[ERROR] /home/leona/git/compound-splitter/src/main/java/org/apache/lucene/analysis/de/compounds/GermanCompoundSplitterTokenFilterFactory.java:[40,49] cannot find symbol
[ERROR] symbol : variable luceneMatchVersion
[ERROR] location: class org.apache.lucene.analysis.de.compounds.GermanCompoundSplitterTokenFilterFactory
[ERROR]
[ERROR] /home/leona/git/compound-splitter/src/main/java/org/apache/lucene/analysis/de/compounds/GermanCompoundSplitterTokenFilterFactory.java:[40,11] incompatible types
[ERROR] found : org.apache.lucene.analysis.de.compounds.GermanCompoundSplitterTokenFilter
[ERROR] required: org.apache.lucene.analysis.TokenStream
[ERROR]
[ERROR] /home/leona/git/compound-splitter/src/main/java/org/apache/lucene/analysis/de/compounds/GermanCompoundSplitterTokenFilterFactory.java:[38,2] method does not override or implement a method from a supertype
[ERROR]
[ERROR] /home/leona/git/compound-splitter/src/main/java/org/apache/lucene/analysis/de/compounds/GermanCompoundSplitterTokenFilter.java:[11,30] cannot find symbol
[ERROR] symbol : variable LoggerFactory
[ERROR] location: class org.apache.lucene.analysis.de.compounds.GermanCompoundSplitterTokenFilter
[ERROR]
[ERROR] /home/leona/git/compound-splitter/src/main/java/org/apache/lucene/analysis/de/compounds/GermanCompoundSplitterTokenFilter.java:[25,38] cannot find symbol
[ERROR] symbol : variable termAtt
[ERROR] location: class org.apache.lucene.analysis.de.compounds.GermanCompoundSplitterTokenFilter
[ERROR]
[ERROR] /home/leona/git/compound-splitter/src/main/java/org/apache/lucene/analysis/de/compounds/GermanCompoundSplitterTokenFilter.java:[41,23] cannot find symbol
[ERROR] symbol : class CompoundToken
[ERROR] location: class org.apache.lucene.analysis.de.compounds.GermanCompoundSplitterTokenFilter
[ERROR]
[ERROR] /home/leona/git/compound-splitter/src/main/java/org/apache/lucene/analysis/de/compounds/GermanCompoundSplitterTokenFilter.java:[41,8] cannot find symbol
[ERROR] symbol : variable tokens
[ERROR] location: class org.apache.lucene.analysis.de.compounds.GermanCompoundSplitterTokenFilter
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
It seems to miss dependencies on sjf4j and lucene-analyzers-common, so I added them the pom.xml as follows:
<dependency>
<groupId>org.apache.lucene</groupId>
<artifactId>lucene-analyzers-common</artifactId>
<version>4.0.0</version>
<type>jar</type>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-simple</artifactId>
<version>1.7.5</version>
<type>jar</type>
It still gives the following error, though.
$ mvn
[INFO] Scanning for projects...
[WARNING]
[WARNING] Some problems were encountered while building the effective model for com.dawidweiss:compound-splitter:jar:0.0.1-SNAPSHOT
[WARNING] 'dependencies.dependency.systemPath' for org.apache.lucene:lucene-core:jar should not point at files within the project directory, ${basedir}/lib/lucene-core-4.0-SNAPSHOT.jar will be unresolvable by dependent projects @ line 25, column 19
[WARNING]
[WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
[WARNING]
[WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
[WARNING]
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Simple German Compound Splitter 0.0.1-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-resources-plugin:2.3:resources (default-resources) @ compound-splitter ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO]
[INFO] --- maven-compiler-plugin:2.0.2:compile (default-compile) @ compound-splitter ---
[INFO] Compiling 3 source files to /home/leona/git/compound-splitter/target/classes
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1.008s
[INFO] Finished at: Fri Jan 24 13:49:29 KST 2014
[INFO] Final Memory: 8M/240M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.0.2:compile (default-compile) on project compound-splitter: Compilation failure: Compilation failure:
[ERROR] /home/leona/git/compound-splitter/src/main/java/org/apache/lucene/analysis/de/compounds/GermanCompoundSplitter.java:[226,32] getBytesReader(int) in org.apache.lucene.util.fst.FST<java.lang.Object> cannot be applied to ()
[ERROR]
[ERROR] /home/leona/git/compound-splitter/src/main/java/org/apache/lucene/analysis/de/compounds/GermanCompoundSplitter.java:[230,32] getBytesReader(int) in org.apache.lucene.util.fst.FST<java.lang.Object> cannot be applied to ()
[ERROR]
[ERROR] /home/leona/git/compound-splitter/src/main/java/org/apache/lucene/analysis/de/compounds/GermanCompoundSplitter.java:[273,33] getBytesReader(int) in org.apache.lucene.util.fst.FST<java.lang.Object> cannot be applied to ()
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
Thanks again for having made this module. I was wondering if you have plan to make compound-splitter part of Lucene, or if there are some issues that must be addressed first?
One reason I was wondering this is that there doesn't seem to be much written about the topic (at least in English). And the built-in HyphenationCompoundWordTokenFilter
and others also don't say much about things like where you can get the dictionary file. compound-splitter appears to be a good, pre-packaged solution for German and perhaps other Germanic languages.
I'm currently using the GermanCompoundSplitterTokenFilter
found in a previous PR with a customized analyzer (I'm skipping CustomAnalyzer
because I'm targeting a platform where using Java SPI is cumbersome). I also found that I want to use the compound word analyzer during indexing and highlighting but not querying, as this configuration allows me to find "lerneffekt" with "lern" and "effekt", and it won't give me other words containing "lern" or "effekt" if I search for "lerneffekt" (that would be the case if I also use the compound word analyzer for query, and that would be too noisy to me), but again I'm curious what other people's experiences are.
Hello !
I'm trying to use the compound filter of https://github.com/wayfair/compound-splitter (to use it with SolR)
I'm not a java developer (but a PHP one).
My problem: these errors.
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.0.2:compile (default-compile) on project compound-splitter: Compilation failure: Compilation failure:
[ERROR] /opt/solr/contrib/compound-splitter-master/src/main/java/org/apache/lucene/analysis/de/compounds/GermanCompoundSplitter.java:[12,16] error: package org.slf4j does not exist
[ERROR]
[ERROR] /opt/solr/contrib/compound-splitter-master/src/main/java/org/apache/lucene/analysis/de/compounds/GermanCompoundSplitter.java:[13,16] error: package org.slf4j does not exist
[ERROR]
[ERROR] /opt/solr/contrib/compound-splitter-master/src/main/java/org/apache/lucene/analysis/de/compounds/GermanCompoundSplitter.java:[31,19] error: cannot find symbol
[ERROR]
[ERROR] could not parse error message: symbol: class Logger
[ERROR] location: class GermanCompoundSplitter
[ERROR] /opt/solr/contrib/compound-splitter-master/src/main/java/org/apache/lucene/analysis/de/compounds/GermanCompoundSplitterTokenFilter.java:4: error: package org.apache.lucene.analysis.compound does not exist
[ERROR] import org.apache.lucene.analysis.compound.CompoundWordTokenFilterBase;
[ERROR] ^
[ERROR]
[ERROR] /opt/solr/contrib/compound-splitter-master/src/main/java/org/apache/lucene/analysis/de/compounds/GermanCompoundSplitterTokenFilter.java:[6,16] error: package org.slf4j does not exist
[ERROR]
[ERROR] /opt/solr/contrib/compound-splitter-master/src/main/java/org/apache/lucene/analysis/de/compounds/GermanCompoundSplitterTokenFilter.java:[7,16] error: package org.slf4j does not exist
[ERROR]
[ERROR] /opt/solr/contrib/compound-splitter-master/src/main/java/org/apache/lucene/analysis/de/compounds/GermanCompoundSplitterTokenFilter.java:[10,4] error: cannot find symbol
[ERROR]
[ERROR] could not parse error message: symbol: class CompoundWordTokenFilterBase
[ERROR] /opt/solr/contrib/compound-splitter-master/src/main/java/org/apache/lucene/analysis/de/compounds/GermanCompoundSplitterTokenFilter.java:11: error: cannot find symbol
[ERROR] private static Logger log = LoggerFactory
[ERROR] ^
[ERROR]
[ERROR] could not parse error message: symbol: class Logger
[ERROR] location: class GermanCompoundSplitterTokenFilter
[ERROR] /opt/solr/contrib/compound-splitter-master/src/main/java/org/apache/lucene/analysis/de/compounds/GermanCompoundSplitterTokenFilterFactory.java:7: error: package org.apache.lucene.analysis.util does not exist
[ERROR] import org.apache.lucene.analysis.util.*;
[ERROR] ^
[ERROR]
[ERROR] /opt/solr/contrib/compound-splitter-master/src/main/java/org/apache/lucene/analysis/de/compounds/GermanCompoundSplitterTokenFilterFactory.java:[8,16] error: package org.slf4j does not exist
[ERROR]
[ERROR] /opt/solr/contrib/compound-splitter-master/src/main/java/org/apache/lucene/analysis/de/compounds/GermanCompoundSplitterTokenFilterFactory.java:[9,16] error: package org.slf4j does not exist
[ERROR]
[ERROR] /opt/solr/contrib/compound-splitter-master/src/main/java/org/apache/lucene/analysis/de/compounds/GermanCompoundSplitterTokenFilterFactory.java:[12,4] error: cannot find symbol
[ERROR]
[ERROR] could not parse error message: symbol: class TokenFilterFactory
[ERROR] /opt/solr/contrib/compound-splitter-master/src/main/java/org/apache/lucene/analysis/de/compounds/GermanCompoundSplitterTokenFilterFactory.java:13: error: cannot find symbol
[ERROR] private static Logger log = LoggerFactory
[ERROR] ^
[ERROR]
[ERROR] could not parse error message: symbol: class Logger
[ERROR] location: class GermanCompoundSplitterTokenFilterFactory
[ERROR] /opt/solr/contrib/compound-splitter-master/src/main/java/org/apache/lucene/analysis/de/compounds/CompileCompoundDictionaries.java:19: error: package org.slf4j does not exist
[ERROR] import org.slf4j.Logger;
[ERROR] ^
[ERROR]
[ERROR] /opt/solr/contrib/compound-splitter-master/src/main/java/org/apache/lucene/analysis/de/compounds/CompileCompoundDictionaries.java:[20,16] error: package org.slf4j does not exist
[ERROR]
[ERROR] /opt/solr/contrib/compound-splitter-master/src/main/java/org/apache/lucene/analysis/de/compounds/CompileCompoundDictionaries.java:[28,17] error: cannot find symbol
[ERROR]
[ERROR] could not parse error message: symbol: class Logger
[ERROR] location: class CompileCompoundDictionaries
[ERROR] /opt/solr/contrib/compound-splitter-master/src/main/java/org/apache/lucene/analysis/de/compounds/GermanCompoundSplitter.java:31: error: cannot find symbol
[ERROR] private static Logger log = LoggerFactory
[ERROR] ^
[ERROR]
[ERROR] could not parse error message: symbol: variable LoggerFactory
[ERROR] location: class GermanCompoundSplitter
[ERROR] /opt/solr/contrib/compound-splitter-master/src/main/java/org/apache/lucene/analysis/de/compounds/GermanCompoundSplitter.java:226: error: method getBytesReader in class FST<T> cannot be applied to given types;
[ERROR] surfaceForms.getBytesReader());
[ERROR] ^
[ERROR]
[ERROR] could not parse error message: required: int
[ERROR] found: no arguments
[ERROR] reason: actual and formal argument lists differ in length
[ERROR] where T is a type-variable:
[ERROR] T extends Object declared in class FST
[ERROR] /opt/solr/contrib/compound-splitter-master/src/main/java/org/apache/lucene/analysis/de/compounds/GermanCompoundSplitter.java:230: error: method getBytesReader in class FST<T> cannot be applied to given types;
[ERROR] surfaceForms.getBytesReader()) != null)
[ERROR] ^
[ERROR]
[ERROR] could not parse error message: required: int
[ERROR] found: no arguments
[ERROR] reason: actual and formal argument lists differ in length
[ERROR] where T is a type-variable:
[ERROR] T extends Object declared in class FST
[ERROR] /opt/solr/contrib/compound-splitter-master/src/main/java/org/apache/lucene/analysis/de/compounds/GermanCompoundSplitter.java:273: error: method getBytesReader in class FST<T> cannot be applied to given types;
[ERROR] glueMorphemes.getBytesReader());
[ERROR] ^
[ERROR]
[ERROR] could not parse error message: required: int
[ERROR] found: no arguments
[ERROR] reason: actual and formal argument lists differ in length
[ERROR] where T is a type-variable:
[ERROR] T extends Object declared in class FST
[ERROR] /opt/solr/contrib/compound-splitter-master/src/main/java/org/apache/lucene/analysis/de/compounds/GermanCompoundSplitterTokenFilter.java:11: error: cannot find symbol
[ERROR] private static Logger log = LoggerFactory
[ERROR] ^
[ERROR]
[ERROR] could not parse error message: symbol: variable LoggerFactory
[ERROR] location: class GermanCompoundSplitterTokenFilter
[ERROR] /opt/solr/contrib/compound-splitter-master/src/main/java/org/apache/lucene/analysis/de/compounds/GermanCompoundSplitterTokenFilter.java:25: error: cannot find symbol
[ERROR] String incomingPossibleCompound = termAtt.toString();
[ERROR] ^
[ERROR]
[ERROR] could not parse error message: symbol: variable termAtt
[ERROR] location: class GermanCompoundSplitterTokenFilter
[ERROR] /opt/solr/contrib/compound-splitter-master/src/main/java/org/apache/lucene/analysis/de/compounds/GermanCompoundSplitterTokenFilter.java:41: error: cannot find symbol
[ERROR] tokens.add(new CompoundToken(startInd, length));
[ERROR] ^
[ERROR]
[ERROR] could not parse error message: symbol: class CompoundToken
[ERROR] location: class GermanCompoundSplitterTokenFilter
[ERROR] /opt/solr/contrib/compound-splitter-master/src/main/java/org/apache/lucene/analysis/de/compounds/GermanCompoundSplitterTokenFilter.java:41: error: cannot find symbol
[ERROR] tokens.add(new CompoundToken(startInd, length));
[ERROR] ^
[ERROR]
[ERROR] could not parse error message: symbol: variable tokens
[ERROR] location: class GermanCompoundSplitterTokenFilter
[ERROR] /opt/solr/contrib/compound-splitter-master/src/main/java/org/apache/lucene/analysis/de/compounds/GermanCompoundSplitterTokenFilterFactory.java:13: error: cannot find symbol
[ERROR] private static Logger log = LoggerFactory
[ERROR] ^
[ERROR]
[ERROR] could not parse error message: symbol: variable LoggerFactory
[ERROR] location: class GermanCompoundSplitterTokenFilterFactory
[ERROR] /opt/solr/contrib/compound-splitter-master/src/main/java/org/apache/lucene/analysis/de/compounds/GermanCompoundSplitterTokenFilterFactory.java:21: error: cannot find symbol
[ERROR] super.init(args);
[ERROR] ^
[ERROR]
[ERROR] could not parse error message: symbol: variable super
[ERROR] location: class GermanCompoundSplitterTokenFilterFactory
[ERROR] /opt/solr/contrib/compound-splitter-master/src/main/java/org/apache/lucene/analysis/de/compounds/GermanCompoundSplitterTokenFilterFactory.java:19: error: method does not override or implement a method from a supertype
[ERROR] @Override
[ERROR] ^
[ERROR]
[ERROR] /opt/solr/contrib/compound-splitter-master/src/main/java/org/apache/lucene/analysis/de/compounds/GermanCompoundSplitterTokenFilterFactory.java:[40,49] error: cannot find symbol
[ERROR]
[ERROR] could not parse error message: symbol: variable luceneMatchVersion
[ERROR] location: class GermanCompoundSplitterTokenFilterFactory
[ERROR] /opt/solr/contrib/compound-splitter-master/src/main/java/org/apache/lucene/analysis/de/compounds/GermanCompoundSplitterTokenFilterFactory.java:40: error: incompatible types
[ERROR] return new GermanCompoundSplitterTokenFilter(luceneMatchVersion, input,
[ERROR] ^
[ERROR]
[ERROR] could not parse error message: required: TokenStream
[ERROR] found: GermanCompoundSplitterTokenFilter
[ERROR] /opt/solr/contrib/compound-splitter-master/src/main/java/org/apache/lucene/analysis/de/compounds/GermanCompoundSplitterTokenFilterFactory.java:38: error: method does not override or implement a method from a supertype
[ERROR] @Override
[ERROR] ^
[ERROR]
[ERROR] /opt/solr/contrib/compound-splitter-master/src/main/java/org/apache/lucene/analysis/de/compounds/CompileCompoundDictionaries.java:[28,30] error: cannot find symbol
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.