You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@lucene.apache.org by sa...@accenture.com on 2007/03/16 06:10:27 UTC

How to use StandardAnalyzer

Hi,

 

I am new to Lucene Java API.

 

I want to use StandardAnalyzer for tokenizing my document.  How can I
use it?

Further how can I index "Acronym" and "Company name"  as one term. 

I know , we can do this using StandardAnalyzer but I am not sure of the
way.

 

Thanks in advance

 

Sandeep



This message is for the designated recipient only and may contain privileged, proprietary, or otherwise private information.  If you have received it in error, please notify the sender immediately and delete the original.  Any other use of the email by you is prohibited.

Re: How to use StandardAnalyzer

Posted by Erick Erickson <er...@gmail.com>.
Also, See SynonymAnalyzer in Lucene In Action.

Erick

On 3/16/07, James liu <li...@gmail.com> wrote:
>
> You can read demo source code from lucene source package.
>
>
>
> 2007/3/16, sandeep.chawla@accenture.com <sa...@accenture.com>:
> >
> > Hi,
> >
> >
> >
> > I am new to Lucene Java API.
> >
> >
> >
> > I want to use StandardAnalyzer for tokenizing my document.  How can I
> > use it?
> >
> > Further how can I index "Acronym" and "Company name"  as one term.
> >
> > I know , we can do this using StandardAnalyzer but I am not sure of the
> > way.
> >
> >
> >
> > Thanks in advance
> >
> >
> >
> > Sandeep
> >
> >
> >
> > This message is for the designated recipient only and may contain
> > privileged, proprietary, or otherwise private information.  If you have
> > received it in error, please notify the sender immediately and delete
> the
> > original.  Any other use of the email by you is prohibited.
> >
>
>
>
> --
> regards
> jl
>

Re: How to use StandardAnalyzer

Posted by James liu <li...@gmail.com>.
You can read demo source code from lucene source package.



2007/3/16, sandeep.chawla@accenture.com <sa...@accenture.com>:
>
> Hi,
>
>
>
> I am new to Lucene Java API.
>
>
>
> I want to use StandardAnalyzer for tokenizing my document.  How can I
> use it?
>
> Further how can I index "Acronym" and "Company name"  as one term.
>
> I know , we can do this using StandardAnalyzer but I am not sure of the
> way.
>
>
>
> Thanks in advance
>
>
>
> Sandeep
>
>
>
> This message is for the designated recipient only and may contain
> privileged, proprietary, or otherwise private information.  If you have
> received it in error, please notify the sender immediately and delete the
> original.  Any other use of the email by you is prohibited.
>



-- 
regards
jl