in fact 
i dowload the source of solr using svn client
then, i execute the path of the opennlp
then i do ant compile -lib /usr/share/ivy

i got the error 

[javac]   public synchronized Span[] splitSentences(String line) {
    [javac]                       ^
    [javac]
/home/pfe/Téléchargements/dev/trunk/solr/contrib/opennlp/src/java/org/apache/solr/analysis/opennlp/NLPTokenizerOp.java:36:
cannot find symbol
    [javac] symbol  : class Tokenizer
    [javac] location: class org.apache.solr.analysis.opennlp.NLPTokenizerOp
    [javac]   private final Tokenizer tokenizer;
    [javac]                 ^
    [javac]
/home/pfe/Téléchargements/dev/trunk/solr/contrib/opennlp/src/java/org/apache/solr/analysis/opennlp/NLPTokenizerOp.java:38:
cannot find symbol
    [javac] symbol  : class TokenizerModel
    [javac] location: class org.apache.solr.analysis.opennlp.NLPTokenizerOp
    [javac]   public NLPTokenizerOp(TokenizerModel model) {
    [javac]                         ^
    [javac]
/home/pfe/Téléchargements/dev/trunk/solr/contrib/opennlp/src/java/org/apache/solr/analysis/opennlp/NLPTokenizerOp.java:46:
cannot find symbol
    [javac] symbol  : class Span
    [javac] location: class org.apache.solr.analysis.opennlp.NLPTokenizerOp
    [javac]   public synchronized Span[] getTerms(String sentence) {
    [javac]                       ^
    [javac]
/home/pfe/Téléchargements/dev/trunk/solr/contrib/opennlp/src/java/org/apache/solr/analysis/OpenNLPTokenizerFactory.java:26:
package opennlp.tools.util does not exist
    [javac] import opennlp.tools.util.InvalidFormatException;
    [javac]                          ^
    [javac]
/home/pfe/Téléchargements/dev/trunk/solr/contrib/opennlp/src/java/org/apache/solr/analysis/opennlp/OpenNLPOpsFactory.java:9:
package opennlp.tools.chunker does not exist
    [javac] import opennlp.tools.chunker.ChunkerModel;
    [javac]                             ^
    [javac] 100 errors

BUILD FAILED
/home/pfe/Téléchargements/dev/trunk/build.xml:112: The following error
occurred while executing this line:
/home/pfe/Téléchargements/dev/trunk/solr/common-build.xml:419: The following
error occurred while executing this line:
/home/pfe/Téléchargements/dev/trunk/solr/common-build.xml:410: The following
error occurred while executing this line:
/home/pfe/Téléchargements/dev/trunk/lucene/common-build.xml:418: The
following error occurred while executing this line:
/home/pfe/Téléchargements/dev/trunk/lucene/common-build.xml:1482: Compile
failed; see the compiler error output for details.

I want to apply a sematique analyses for the document thet will be indexed
using solr .So solr will index and then analyse content using opennlp
instead of tika. 





--
View this message in context: 
http://lucene.472066.n3.nabble.com/SLOR-And-OpenNlp-integration-tp4013094p4013144.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to