From 75601ffcea2f716ac088f9909ac972905b5b5857 Mon Sep 17 00:00:00 2001 From: Winston Jodjana <winj@cs.washington.edu> Date: Tue, 10 May 2022 21:08:57 -0700 Subject: [PATCH] Update uMessage.java to include other examples --- src/main/java/chat/uMessage.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/main/java/chat/uMessage.java b/src/main/java/chat/uMessage.java index 06f9f03..f3b61a9 100644 --- a/src/main/java/chat/uMessage.java +++ b/src/main/java/chat/uMessage.java @@ -20,6 +20,11 @@ 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 + // Other examples: + // .trieConstructor(NGram.class); + // .trieConstructor(AlphabeticString.class); + // .hashtableConstructor(NGramTester.avlTreeConstructor()); + // .hashtableConstructor(NGramTester.binarySearchTreeConstructor()); private static final Supplier<Dictionary<NGram, Dictionary<AlphabeticString, Integer>>> NEW_OUTER = NGramTester .binarySearchTreeConstructor(); private static final Supplier<Dictionary<AlphabeticString, Integer>> NEW_INNER = NGramTester -- GitLab