Skip to content

Commit

Permalink
Correct NGramFrequency class documentation typo
Browse files Browse the repository at this point in the history
Fixed a minor typo in the docstring of the NGramFrequency class. The change ensures the documentation accurately reflects the function's behavior and improves its readability.
  • Loading branch information
deligoez committed Jan 1, 2024
1 parent e671b28 commit 9dccd04
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/NGramFrequency.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public static function trigram(array $tokens): array
}

/**
* Generates bigrams with frequency for given array of tokens and n-gram level.
* Generates bigrams with frequency for given an array of tokens and n-gram level.
*
* @param array<string> $tokens
* @return array<string, float>
Expand Down

0 comments on commit 9dccd04

Please sign in to comment.