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

ViterbiSegment 添加是否进行 Normalize 的配置方法 #1714

Closed
1 task done
XhstormR opened this issue Mar 6, 2022 · 1 comment
Closed
1 task done

ViterbiSegment 添加是否进行 Normalize 的配置方法 #1714

XhstormR opened this issue Mar 6, 2022 · 1 comment
Assignees
Labels
feature request Suggest an idea for this project

Comments

@XhstormR
Copy link

XhstormR commented Mar 6, 2022

Describe the feature and the current behavior/state.
目前只有一种方式开关 Normalization,且影响全局,不能以单个对象控制。
HanLP.Config.Normalization = true

Will this change the current api? How?
希望 ViterbiSegment 添加配置方法,能够单独配置是否进行 Normalize。eg:
new ViterbiSegment().enableNormalize(bool)

Who will benefit with this feature?

Are you willing to contribute it (Yes/No):

System information

  • OS Platform and Distribution (e.g., Linux Ubuntu 16.04):
  • Python version:
  • HanLP version:

Any other info

  • I've carefully completed this form.
@XhstormR XhstormR added the feature request Suggest an idea for this project label Mar 6, 2022
@hankcs
Copy link
Owner

hankcs commented Mar 8, 2022

感谢建议,请参考上面的commit。

@hankcs hankcs closed this as completed Mar 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request Suggest an idea for this project
Projects
None yet
Development

No branches or pull requests

2 participants