Skip to content

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

@XhstormR

Description

@XhstormR

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.

Metadata

Metadata

Assignees

Labels

feature requestSuggest an idea for this project

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions