Skip to content

Commit

Permalink
docs: minor
Browse files Browse the repository at this point in the history
  • Loading branch information
HLasse committed Dec 15, 2022
1 parent d3d152a commit 1523786
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/coherence.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ implementation follows e.g. [1] and [2]:
* First-order coherence: The cosine similarity between consecutive sentences.
* Second-order coherence: The cosine similarity between sentences that are two sentences apart.

The implementation uses spacy's :code:`Token.similarity` method to calculate the
The implementation uses spacy's :code:`Span.similarity` method to calculate the
similarity between sentences. The similarity is based on the word embeddings in
the spacy pipeline, i.e. small, medium, large, or transformer models will have
different results. Read more on `spacy's documentation <https://spacy.io/usage/linguistic-features#vectors-similarity>`_
Expand Down

0 comments on commit 1523786

Please sign in to comment.