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

TimeRecognition的小问题 #794

Open
BrightZhu-QWQ opened this issue Jun 15, 2022 · 1 comment
Open

TimeRecognition的小问题 #794

BrightZhu-QWQ opened this issue Jun 15, 2022 · 1 comment

Comments

@BrightZhu-QWQ
Copy link

在使用TimeRecognition对结果进行处理时第一个数字为null,
测试字符串:2021-03-29 12:16:32是一个好日子
输出结果:[null-03-29 12:16:32/t, 是/v, 一个/m, 好日子/n]

@BrightZhu-QWQ
Copy link
Author

问题出现在Term当中,可以将配置文件的isRealName改为ture正常使用

public Term merageWithBlank(Term to) {
    this.name = this.name + to.getName();
    this.realName = this.realName + to.getRealName();
    this.setTo(to.to);
    return this;
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant