rxn.metrics.tokenize_file.classification_string_is_tokenized

rxn.metrics.tokenize_file.classification_string_is_tokenized(classification_line)[source]

Whether a classification line is tokenized or not.

Parameters

classification_line (str) – line to inspect

Raises

ValueError – for errors in tokenization or detokenization

Return type

bool