Skip to content

Unnecessary blank lines found in stopwords.txt of SmartChineseAnalyzer #12291

@JerryChin

Description

@JerryChin

Description

Hi team,

This issue is a spin-off from the java-user list thread.

The stopwords.txt of SmartChineseAnalyzer contains two blank lines at L56 & L58. As a result, SmartChineseAnalyzer.getDefaultStopSet() will produce an empty string stop word, but it makes no sense to have empty string as a stop word.

Maybe we can improve it?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions