Yes, this is for the trunk and the 4.x branch.

Run this at the top level:
patch -p0 < LUCENE-2899.patch

Then follow the directions on the Solr wiki. This takes two steps to
compile. (When it is committed the build will be normal.)
http://wiki.apache.org/solr/OpenNLP

This is a Solr project, so ask future questions on [email protected].

Lance (the author)

On Wed, Jul 11, 2012 at 3:07 PM, Koji Sekiguchi <[email protected]> wrote:
> Hi Sam,
>
> I think you should use trunk version of Lucene/Solr, instead of 3.6
> to apply the patch.
>
> koji
> --
> http://soleami.com/blog/starting-lab-work.html
>
>
>
> (12/07/12 0:57), sam wu wrote:
>>
>> Hi, I am trying to follow the instruction, and test NLP*Filter.
>>
>> I downloaded Lucene/Solr 3.6, with all the necessary opennlp stuff
>> (library, model)
>> Then try to patch, JIRA 2899 has several patch files,..
>> 1. Is the patch command -- "patch -p0 ???.patch" correct ?
>> 2. Do I have to apply all the patchs ?,
>>
>>
>> Thanks
>>
>> Sam
>>
>> On Wed, Jul 4, 2012 at 6:11 PM, Lance Norskog <[email protected]> wrote:
>>
>>> The Solr wiki is updated, including directions for testing the patch:
>>> http://wiki.apache.org/solr/OpenNLP
>>>
>>> On Wed, Jul 4, 2012 at 4:54 PM, Lance Norskog <[email protected]> wrote:
>>>>
>>>> Hello-
>>>>
>>>> A committable patch is up! The Lucene classes are in
>>>> lucene/analysis/opennlp and the Solr classes are in
>>>> solr/contrib/opennlp. Several bits of build script fu are in the
>>>> appropriate places.
>>>>
>>>> It uses 'jwnl', with version 1.4rc3. Yes, this is not what OpenNLP is
>>>> compiled against, but the build works and co-reference is not used in
>>>> this patch.
>>>>
>>>> The SentenceDetector, Tokenizer and POS/Chunking/NER are tested with
>>>> miniaturized models made from miniaturized test corpuses. They are
>>>> kawii.
>>>>
>>>> http://wiki.apache.org/solr/OpenNLP
>>>>
>>>> On Wed, Jun 27, 2012 at 1:06 AM, Lance Norskog <[email protected]>
>>>
>>> wrote:
>>>>>
>>>>> ---------- Forwarded message ----------
>>>>> From: Aliaksandr Autayeu <[email protected]>
>>>>> Date: Sat, Jun 16, 2012 at 5:15 AM
>>>>> Subject: Re: Patch for Lucene/Solr
>>>>> To: [email protected]
>>>>>
>>>>>
>>>>> extjwnl ( http://extjwnl.sourceforge.net/ ) is in Maven and it is
>>>
>>> almost
>>>>>
>>>>> 100% compatible. The package names have changed, though.
>>>>>
>>>>> Aliaksandr
>>>>>
>>>>> On Fri, Jun 15, 2012 at 11:31 PM, Lance Norskog <[email protected]>
>>>
>>> wrote:
>>>>>
>>>>>
>>>>>> Turns out I can just put text files in the patch and it will accept
>>>>>> the libraries via 'ivy'. The only remaining problem is that 'jwnl' is
>>>>>> not in Maven.
>>>>>>
>>>>>> On Fri, Jun 15, 2012 at 3:35 AM, Jörn Kottmann <[email protected]>
>>>
>>> wrote:
>>>>>>>
>>>>>>> On 06/06/2012 10:53 AM, Lance Norskog wrote:
>>>>>>>>
>>>>>>>>
>>>>>>>> The opennlp build needs a little upgrading to work with the license
>>>>>>>> validation in the Lucene build. OPENNLP-511 requests this.
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> I will have a look at it for the next release. Planning to start
>>>
>>> working
>>>>>>>
>>>>>>> on it soon.
>>>>>>>
>>>>>>> Jörn
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> Lance Norskog
>>>>>> [email protected]
>>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Lance Norskog
>>>>> [email protected]
>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> Lance Norskog
>>>> [email protected]
>>>
>>>
>>>
>>>
>>> --
>>> Lance Norskog
>>> [email protected]
>>>
>>
>
>
>



-- 
Lance Norskog
[email protected]

Reply via email to