org.allenai.nlpstack.parse.poly.fsm
Learn a TaskTreeIdentifier from a list of TaskIdentifiers.
Learn a TaskTreeIdentifier from a list of TaskIdentifiers. It will enumerate the set of
parser states found in a set of gold parses. Then, from the set of possible TaskConjunctions
induced by the TaskIdentifier list, it will compute the subset which are associated with
at least qualifyingCount
parser states. Then it will build a tree-structure over these
and return a TaskTreeIdentifier.
a list of base TaskIdentifiers
a set of gold states
the minimum state count that a TaskConjunction needs to qualify for the resulting TaskTree
the resulting TaskTreeIdentifier