//MetaPhrase/com.github.diegoberaldin.metaphrase.domain.tm.usecase/GetSimilaritiesUseCase
GetSimilaritiesUseCase
[jvm]
interface GetSimilaritiesUseCase
Contract for the get similarities use case.
Functions
Name | Summary |
---|---|
invoke | [jvm] abstract suspend operator fun invoke(segment: SegmentModel, projectId: Int, languageId: Int, threshold: Float = 0.75f): List<TranslationUnit> Get a series of matches from the translation memory or the current project for a given segment. |