Package ai.djl.modality.nlp
Contains utility classes for natural language processing tasks.
-
Interface Summary Interface Description Vocabulary Vocabulary
is a collection of tokens. -
Class Summary Class Description Decoder Decoder
is an abstract block that be can used as decoder in encoder-decoder architecture.DefaultVocabulary The default implementation of Vocabulary.DefaultVocabulary.Builder Builder class that is used to build theDefaultVocabulary
.Encoder Encoder
is an abstract block that be can used as encoder in encoder-decoder architecture.EncoderDecoder EncoderDecoder
is a general implementation of the very popular encoder-decoder architecture.NlpUtils Utility functions for processing String and Characters in NLP problems.