Skip to content

Commit

Permalink
Update ngram.py documentation
Browse files Browse the repository at this point in the history
Fixed spelling mistake
  • Loading branch information
CameronLonsdale committed May 7, 2018
1 parent 3f9b3f1 commit 235e163
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lantern/fitness/ngram.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ def NgramScorer(frequency_map):
"""Compute the score of a text by using the frequencies of ngrams.
Example:
>>> fitness = NgramScore(english.unigrams)
>>> fitness = NgramScorer(english.unigrams)
>>> fitness("ABC")
-4.3622319742618245
Expand Down

0 comments on commit 235e163

Please sign in to comment.