Skip to content
Discussion options

You must be logged in to vote

Sorry this isn't perfectly clear, but that part of the docs is designed to give you an idea of how things work, and not to be copy-pasted. In particular the last line is just intended to illustrate how the component is used and definitely cannot be just run after the preceding lines.

This particular error is because the component you just added hasn't been trained, so it's uninitialized. You need to initialize the component first, at which point you won't get an error, but you also won't get meaningful results until you train it.

For getting started with coref, I would recommend checking out the sample project. The API docs are more details if you need to tweak things or learn about the i…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Jonathan-Buck
Comment options

Answer selected by Jonathan-Buck
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Documentation and website feat / coref Feature: Coreference resolution
2 participants
Converted from issue

This discussion was converted from issue #11796 on November 14, 2022 03:29.