diff --git a/src/main/java/chat/uMessage.java b/src/main/java/chat/uMessage.java index a2f20bbaa940fcf8cef279dd74790654d333a461..06f9f03d73252c99a484a67a67c5be8141d6b75c 100644 --- a/src/main/java/chat/uMessage.java +++ b/src/main/java/chat/uMessage.java @@ -19,10 +19,11 @@ import java.util.function.Supplier; public class uMessage { private static final int N = 3; private static final String CORPUS = "corpus/eggs.txt"; + // Use .binarySearchTreeConstructor(); if you want to test things since it is an implementation we provide and is guaranteed to work private static final Supplier<Dictionary<NGram, Dictionary<AlphabeticString, Integer>>> NEW_OUTER = NGramTester - .trieConstructor(NGram.class); + .binarySearchTreeConstructor(); private static final Supplier<Dictionary<AlphabeticString, Integer>> NEW_INNER = NGramTester - .trieConstructor(AlphabeticString.class); + .binarySearchTreeConstructor(); /* *