Returns the log-probability of the given symbol sequence. If the sequence is labelled, then returns the joint log-probability of the symbol, state sequence. Otherwise, uses the forward algorithm to find the log-probability over all label sequences.

Returns:the log-probability of the sequence
Return type:float
Parameters:sequence (Token) – the sequence of symbols which must contain the TEXT property, and optionally the TAG property