Hi,
I would like to use a trie for my current project, but not an a character-basis but rather on a word-basis.
RadixTree<Integer> tree = new ConcurrentRadixTree<Integer>(new DefaultCharArrayNodeFactory());
tree.put("TEST TABLE", 1);
tree.put("TEST TOAST TEA", 2);
tree.put("TEST TOAST TENNIS", 3); // alternatively supply a list of words directly
○
└── ○ TEST
├── ○ TOAST
│ ├── ○ TEA (2)
│ └── ○ TENNIS (3)
└── ○ TABLE (1)
Is it possible to use the existing interface in any way to accomplish this, and if not, how much work would it be to adapt the code?
Kind regards
Stefan