kiwi.data.encoders.field_encoders
TextEncoder
Encode a field, handling vocabulary, tokenization and embeddings.
TagEncoder
InputEncoder
ScoreEncoder
BinaryScoreEncoder
Transform HTER score into binary OK/BAD label.
AlignmentEncoder
kiwi.data.encoders.field_encoders.
logger
Heavily inspired in torchtext and torchnlp.
fit_vocab
vocabulary
padding_index
encode
batch_encode
Bases: kiwi.data.encoders.field_encoders.TextEncoder
kiwi.data.encoders.field_encoders.TextEncoder
Bases: kiwi.data.encoders.field_encoders.InputEncoder
kiwi.data.encoders.field_encoders.InputEncoder
Bases: kiwi.data.encoders.field_encoders.ScoreEncoder
kiwi.data.encoders.field_encoders.ScoreEncoder
kiwi.data.encoders.base
kiwi.data.encoders.parallel_data_encoder