Examples of searchBestMatchTransMemory()


Examples of org.zanata.service.TranslationFinder.searchBestMatchTransMemory()

        // the target which is expected to match is HTextFlowTarget 100
        // (which belongs to HTextFlow 100, HDocument 100,
        // HProjectIteration 100, HProject 100)

        Optional<HTextFlowTarget> matchingTarget =
                service.searchBestMatchTransMemory(
                        queryTextFlow, LocaleId.DE, LocaleId.EN_US,
                        execution.isCheckContext(), execution.isCheckDocument(),
                        execution.isCheckProject());

        assertThat(matchingTarget.isPresent()).as("match present").isEqualTo(
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.