RE: Re: Sentence classification with Lucene

2025-02-19 Thread Dmitri Geller
Yes, something like lucene-classification [1]. But, there are multiple classifiers in this package. Which one is better suited ? (Imagine I collect more samples per class... about... 30-40 samples per class) Any good Java examples using these classifiers? Another question: in case I want my cl

Re: Sentence classification with Lucene

2025-02-19 Thread Tommaso Teofili
Hi, if you have 30 classes with 10 samples per class, I'd say that's not an optimal distribution. Apart from that, you may use one of the text classifiers from lucene-classification [1], is anything like this what you had in mind? Alternatively you can also do things outside of Lucene and use Luce

Sentence classification with Lucene

2025-02-17 Thread Dmitri Geller
Hi all, I would like to classify a sentence into one or two categories. I see this classification roughly this way: ``` unknown:    example1    example2    ...    exampleN class1:    example1    example2    ...    exampleN class2:    example1    example2    ...    exampleN ... classN:    exa