sign_language_translator.models.text_to_sign package
Submodules
Module contents
- class sign_language_translator.models.text_to_sign.ConcatenativeSynthesis(text_language: str | TextLanguage | Enum, sign_language: str | SignLanguage | Enum, sign_format: str | Type[Sign], sign_embedding_model: str | Enum | None = None)[source]
Bases:
TextToSignModelA class representing a Rule-Based model for translating text to sign language by concatenating sign language videos.
- property sign_embedding_model: str | None
The name of the model which was used for extracting features from the signs. This name is used in the filenames of the preprocessed signs dataset.
- property sign_format: Type[Sign]
The format of the sign language (e.g. slt.Vision.sign.sign.Sign or subclass).
Class that wraps the sign language features e.g. raw videos or landmarks. This class can load the signs from available datasets and concatenate its objects. e.g. slt.Video or slt.Landmarks class.
- property sign_language: SignLanguage
An object of slt.languages.sign.SignLanguage class or its child that defines the mapping rules & grammar of a sign language.
- property text_language: TextLanguage
An object of slt.languages.text.TextLanguage class or its child that defines preprocessing, tokenization & other NLP functions.
- class sign_language_translator.models.text_to_sign.TextToSignModel[source]
Bases:
ABC- abstract property sign_format
The format of the sign language (e.g. slt.Vision.sign.sign.Sign).
- abstract property sign_language
The target sign language of the model.
- abstract property text_language
The source text language of the model.