refactor: Clean up code by removing unnecessary blank lines and improving comments for better readability and maintainability
This commit is contained in:
@@ -96,11 +96,6 @@ func getWordNgrams(n int, sentences []string, exclusive bool) *Ngrams {
|
||||
return getNgrams(n, words, exclusive)
|
||||
}
|
||||
|
||||
func lenLcs(x, y []string) int {
|
||||
table := lcs(x, y)
|
||||
return table[len(x)][len(y)]
|
||||
}
|
||||
|
||||
func lcs(x, y []string) [][]int {
|
||||
n, m := len(x), len(y)
|
||||
table := make([][]int, n+1)
|
||||
|
||||
Reference in New Issue
Block a user