Simplified initial rewrite of token filter. More cases need testing and no current implementation for biggest phrase match.