Hi Michael,

Thanks for clarifying, I have created an issue
<https://github.com/apache/lucene/issues/12291> to follow up in Github.

Much appreciated!

On Monday, May 15, 2023, Michael McCandless <luc...@mikemccandless.com>
wrote:

> Hi Jerry,
>
> I agree, that makes no sense!  Maybe the stopload loader should ignore
> truly blank lines?
>
> Also, the comments on lines 57 and 59 are confusing -- there are no
> (default) English and Chinese stopwords in the file.  I guess they are
> placeholders.
>
> Could you open an issue in Lucene's GitHub issue tracker (
> https://github.com/apache/lucene/issues ) and let's iterate from there?
>
> Thanks!
>
> Mike McCandless
>
> http://blog.mikemccandless.com
>
>
> On Mon, May 15, 2023 at 5:25 AM Jerry Chin <metrx...@gmail.com> wrote:
>
>> Hi all,
>>
>> This following line contains two blank lines, including line 56 & 58:
>>
>> https://github.com/apache/lucene/blob/main/lucene/analysis/smartcn/src/resources/org/apache/lucene/analysis/cn/smart/stopwords.txt
>>
>> As a result,  SmartChineseAnalyzer.getDefaultStopSet() will produce a
>> empty
>> string as stop words, but it makes no sense to have empty string as stop
>> word right?
>>
>> Much appreciated for your help!
>>
>>
>>
>>
>> *Regards,Jerry Chin.*
>> *下述真理不证自明:凡为人类,生而平等,秉造物者之赐,拥诸不可剥夺之权利,包含生命权、自由权、及追求幸福权。*
>>
>

Reply via email to