int arity = pattern.arity();
int size = pattern.size();
int[] patternTokens = pattern.getWordIDs();
SymbolTable vocab = corpus.getVocabulary();
if (arity==0) {
int[] bounds = this.findPhrase(pattern, 0, pattern.size(), 0, this.size()-1);
int[] startPositions = this.getAllPositions(bounds);
MatchedHierarchicalPhrases result = this.createTriviallyHierarchicalPhrases(startPositions, pattern, vocab);