syntaxdot-encoders 0.5.0

Encoders for linguistic features
Documentation
1
2
3
4
5
6
7
8
use thiserror::Error;

#[derive(Clone, Debug, Eq, Error, PartialEq)]
pub enum EncodeError {
    /// The token does not have a label.
    #[error("token without a label: '{form:?}'")]
    MissingLabel { form: String },
}