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
As I understand from the docs, the normalize() method can be called on text spans, that were built by tag_ner() method.
normalize()
tag_ner()
Is there a way to normalize a span of text, that does not appear in doc.spans? Can it be provided by the user?
doc.spans
The text was updated successfully, but these errors were encountered:
There is no public API for that. One may use internal normalize https://github.com/natasha/natasha/blob/master/natasha/norm.py#L126 and syntax_normalize https://github.com/natasha/natasha/blob/master/natasha/norm.py#L119. Please read the code to learn how to prepare vocab and tokens arguments.
normalize
syntax_normalize
vocab
tokens
Sorry, something went wrong.
No branches or pull requests
As I understand from the docs, the
normalize()
method can be called on text spans, that were built bytag_ner()
method.Is there a way to normalize a span of text, that does not appear in
doc.spans
? Can it be provided by the user?The text was updated successfully, but these errors were encountered: