speechtotext.model.modelWrapper.MetaModelWrapper
- class MetaModelWrapper(name, bases, attrs)[source]
Bases:
typeMeta class for model wrapper.
Created to automaticly convert a sample before transcribing.
If the class has a ‘get_transcript_of_file’ method, wrap it
Methods
Return a type's method resolution order.
Return a wrapped instance method
- __call__(*args, **kwargs)
Call self as a function.
- static __new__(cls, name, bases, attrs)[source]
If the class has a ‘get_transcript_of_file’ method, wrap it
- mro()
Return a type’s method resolution order.