Package ai.djl.modality.nlp
Contains utility classes for natural language processing tasks.
-
Interface Summary Interface Description Vocabulary Vocabularyis a collection of tokens. -
Class Summary Class Description Decoder Decoderis 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 Encoderis an abstract block that be can used as encoder in encoder-decoder architecture.EncoderDecoder EncoderDecoderis a general implementation of the very popular encoder-decoder architecture.NlpUtils Utility functions for processing String and Characters in NLP problems.