the map from strings to parses
Takes a candidate parse tree and finds the parse in the bank corresponding to its sentence.
Takes a candidate parse tree and finds the parse in the bank corresponding to its sentence. If no parse exists (or if the existing parse has a different tokenization than the candidate parse), then None is returned.
the parse, for which we want to find a corresponding banked parse
the corresponding banked parse, if it exists
the map from strings to parses
A ParseBank maps string-representations of sentences to a unique parse.
the map from strings to parses