Skip to content

Using TextCategorizer on Span instead of Doc #5290

Discussion options

You must be logged in to vote

Now that I know of span.as_doc() then yes (didn't notice that one). So I'd change the last line to

text_cat(span.as_doc()).cats

Right?

Replies: 5 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by ines
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feat / textcat Feature: Text Classifier
2 participants
Converted from issue

This discussion was converted from issue #5290 on December 11, 2020 00:23.