Skip to content
Snippets Groups Projects
Commit 75601ffc authored by Winston Jodjana's avatar Winston Jodjana
Browse files

Update uMessage.java to include other examples

parent b95e4c9d
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment