smoothnlp / SmoothNLP

专注于可解释的NLP技术 An NLP Toolset With A Focus on Explainable Inference
GNU General Public License v3.0
624 stars 112 forks source link

【新词发现】处理数据bug #46

Closed gcbanana closed 4 years ago

gcbanana commented 4 years ago

当corpus的类型为list时,为了避免空字符串出现,应该是len(remove_irregular_chars(sent)) != 0

Yvette-Wang commented 4 years ago

感谢您的反馈,已修正