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

Quick update about using BST in uMessage

parent dcc5ac20
No related branches found
No related tags found
No related merge requests found
......@@ -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();
/*
*
......
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