Skip to content

Commit cc6ce47

Browse files
committed
sphinx doesn't allow custom section titles :(
1 parent 4879e52 commit cc6ce47

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

gensim/models/phrases.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,7 @@
8787
.split()
8888
)
8989

90+
9091
def original_scorer(worda_count, wordb_count, bigram_count, len_vocab, min_count, corpus_word_count):
9192
r"""Bigram scoring function, based on the original `Mikolov, et. al: "Distributed Representations
9293
of Words and Phrases and their Compositionality" <https://arxiv.org/abs/1310.4546>`_.
@@ -463,7 +464,7 @@ def __init__(
463464
corpus with a different concept of "words irrelevant to phrases".
464465
465466
Examples
466-
----------
467+
--------
467468
.. sourcecode:: pycon
468469
469470
>>> from gensim.test.utils import datapath
@@ -491,8 +492,8 @@ def __init__(
491492
>>> print(frozen_phrases[sent])
492493
[u'trees_graph', u'minors']
493494
494-
Notes on collocation scoring
495-
----------------------------
495+
Notes
496+
-----
496497
497498
The ``scoring="npmi"`` is more robust when dealing with common words that form part of common bigrams, and
498499
ranges from -1 to 1, but is slower to calculate than the default ``scoring=="default"``.

0 commit comments

Comments
 (0)