We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
代码位置easynlp.appzoo.sequence_labeling.predictor.py SequenceLabelingPredictor.preprocess
easynlp.appzoo.sequence_labeling.predictor.py
SequenceLabelingPredictor.preprocess
text_a = record[self.first_sequence] if self.tokenized else " ".join(record[self.first_sequence]) # record[self.first_sequence] = '中 国 最 棒' # text_a = '中 国 最 棒' (多加了一个空格)
除非指明要预测的序列不包含空格间隔,不然会多一个空格。
The text was updated successfully, but these errors were encountered:
No branches or pull requests
代码位置
easynlp.appzoo.sequence_labeling.predictor.py
SequenceLabelingPredictor.preprocess
除非指明要预测的序列不包含空格间隔,不然会多一个空格。
The text was updated successfully, but these errors were encountered: