dgs.models.similarity.register_similarity_module¶
- dgs.models.similarity.register_similarity_module(name: str, new_similarity: Type[SimilarityModule]) None [source]¶
Register a new similarity module with name in
SIMILARITIES
, to be able to use it from configuration files.