Using SpanCategorizer without suggester #10657
Answered
by
thomashacker
thiippal
asked this question in
Help: Coding & Implementations
-
Hi! If I've understood correctly, the SpanCategorizer learns to suggest Spans and to predict their label. However, if I train a SpanCategorizer, can I disable the Suggester and use the component only to predict labels for spans (e.g. sentences in a Doc)? |
Beta Was this translation helpful? Give feedback.
Answered by
thomashacker
Apr 15, 2022
Replies: 1 comment 9 replies
-
Hello! |
Beta Was this translation helpful? Give feedback.
9 replies
Answer selected by
thiippal
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello!
you can't really disable the
Suggester
but instead create your own custom one (e.g. a suggester that suggests all sentences in a Doc).We currently only have the ngram suggester which you could use as a starting point for building your own function.