Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add nori_number token filter in analysis-nori and discard_punctuation to filter #4591

Merged
merged 3 commits into from
Apr 17, 2020

Conversation

codebrain
Copy link
Contributor

Copy link
Contributor

@russcam russcam left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Left a comment about filters

/// For example: "nori_number" - token filter normalizes Korean numbers to regular Arabic decimal numbers in half-width characters.
/// </summary>
[DataMember(Name = "filter")]
IEnumerable<string> Filters { get; set; }
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this should be removed. The token filters are applied at the analyzer level (level above tokenizer)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

++ thanks, please check 0cb682b

Copy link
Contributor

@russcam russcam left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

@codebrain codebrain merged commit f219164 into 7.7 Apr 17, 2020
@codebrain codebrain deleted the feature/7.7/nori-tokenizer branch April 17, 2020 04:06
github-actions bot pushed a commit that referenced this pull request Apr 17, 2020
Add discard_punctuation to nori token filter
github-actions bot pushed a commit that referenced this pull request Apr 17, 2020
Add discard_punctuation to nori token filter
codebrain added a commit that referenced this pull request Apr 17, 2020
Add discard_punctuation to nori token filter

Co-authored-by: Stuart Cam <[email protected]>
codebrain added a commit that referenced this pull request Apr 17, 2020
Add discard_punctuation to nori token filter

Co-authored-by: Stuart Cam <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants