MetaPhrase

An open source translation editor for native mobile app localization.

View project on GitHub

//MetaPhrase/com.github.diegoberaldin.metaphrase.domain.glossary.usecase/GetGlossaryTermsUseCase

GetGlossaryTermsUseCase

[jvm]
interface GetGlossaryTermsUseCase

Contract for the get glossary terms use case.

Functions

Name Summary
invoke [jvm]
abstract suspend operator fun invoke(message: String, lang: String): List<GlossaryTermModel>
Retrieve the glossary terms (source) for a source message. This should consider the stem of the words contained in the message.