Home
last modified time | relevance | path

Searched refs:wordList1 (Results 1 – 2 of 2) sorted by relevance

/packages/apps/TV/src/com/android/tv/recommendation/
DRoutineWatchEvaluator.java121 List<String> wordList1 = splitTextToWords(title1); in calculateTitleMatchScore() local
123 if (wordList1.isEmpty() || wordList2.isEmpty()) { in calculateTitleMatchScore()
126 int maxMatchedWordSeqLen = calculateMaximumMatchedWordSequenceLength(wordList1, wordList2); in calculateTitleMatchScore()
129 double precision = (double) maxMatchedWordSeqLen / wordList1.size(); in calculateTitleMatchScore()
/packages/apps/TV/tests/unit/src/com/android/tv/recommendation/
DRoutineWatchEvaluatorTest.java252 List<String> wordList1 = RoutineWatchEvaluator.splitTextToWords(text1); in assertMaximumMatchedWordSequenceLength() local
258 wordList1, wordList2)); in assertMaximumMatchedWordSequenceLength()
263 wordList2, wordList1)); in assertMaximumMatchedWordSequenceLength()