Re: Analyzer Does Not Works As Accepted

2014-02-28 Thread Furkan KAMACI
Hi; I have put StopFilter after lower case filter. Thanks; Furkan KAMACI 28 Şub 2014 12:06 tarihinde "pravesh" yazdı: > >>I fixed the problems. StopFilter was not working as accepted because of > letter cases. > > Alternatively, you could have moved StopFilter above the > WordDelimiterFilter >

Re: Analyzer Does Not Works As Accepted

2014-02-28 Thread pravesh
>>I fixed the problems. StopFilter was not working as accepted because of letter cases. Alternatively, you could have moved StopFilter above the WordDelimiterFilter in your analysis chain. Regards Pravesh -- View this message in context: http://lucene.472066.n3.nabble.com/Analyzer-Does-Not-W

Re: Lucene Retrieve Previous and Next Tokens At Analyzed Index

2014-02-28 Thread Furkan KAMACI
Hi Uwe; I will try to do your approach. I have considered to use highlighter for that purpose: if I index the corpus I can search on it again and again so I can generate models for any other terms whenever I want. However analyze time processing is applicable for me too. Thanks; Furkan KAMACI 2

RE: Lucene Retrieve Previous and Next Tokens At Analyzed Index

2014-02-28 Thread Uwe Schindler
Hi, You can do that in your TokenFilter by buffering tokens using captureState() or cloneAttributes() and storing them in a circular buffer of size=20 (or like that). Emitting tokens to the consumer is then done "delayed": Once you collected 20 tokens from the "input" tokenfilter, do you analy

Re: Lucene Retrieve Previous and Next Tokens At Analyzed Index

2014-02-28 Thread Furkan KAMACI
Hi; I want to implement a stemming algorithm for an NLP purpose. I am analyzing Turkish language. Turkish is a different kind of language that is not easy to do stemming. For many cases you can just *predict* "root form" of a given word with the help of context. I will just implement a basic algo