Home
last modified time | relevance | path

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

/packages/apps/TV/tests/unit/src/com/android/tv/recommendation/
DRoutineWatchEvaluatorTest.java74 assertThat(RoutineWatchEvaluator.splitTextToWords("")).containsExactly().inOrder(); in testSplitTextToWords()
75 assertThat(RoutineWatchEvaluator.splitTextToWords("Google")) in testSplitTextToWords()
78 assertThat(RoutineWatchEvaluator.splitTextToWords("The Big Bang Theory")) in testSplitTextToWords()
81 assertThat(RoutineWatchEvaluator.splitTextToWords("Hello, world!")) in testSplitTextToWords()
84 assertThat(RoutineWatchEvaluator.splitTextToWords("Adam's Rib")) in testSplitTextToWords()
87 assertThat(RoutineWatchEvaluator.splitTextToWords("G.I. Joe")) in testSplitTextToWords()
90 assertThat(RoutineWatchEvaluator.splitTextToWords("A.I.")).containsExactly("A.I").inOrder(); in testSplitTextToWords()
252 List<String> wordList1 = RoutineWatchEvaluator.splitTextToWords(text1); in assertMaximumMatchedWordSequenceLength()
253 List<String> wordList2 = RoutineWatchEvaluator.splitTextToWords(text2); in assertMaximumMatchedWordSequenceLength()
/packages/apps/TV/src/com/android/tv/recommendation/
DRoutineWatchEvaluator.java121 List<String> wordList1 = splitTextToWords(title1); in calculateTitleMatchScore()
122 List<String> wordList2 = splitTextToWords(title2); in calculateTitleMatchScore()
214 static List<String> splitTextToWords(String text) { in splitTextToWords() method in RoutineWatchEvaluator