All Downloads are FREE. Search and download functionalities are using the official Maven repository.

net.sf.okapi.common.resource.CodeMatchStrategy Maven / Gradle / Ivy

There is a newer version: 1.47.0
Show newest version
package net.sf.okapi.common.resource;

/**
 * Enums define various matching criteria between two lists of codes (normally source and target).
 */
public enum CodeMatchStrategy {
    /**
     * Use for leveraged targets.
     * Minimally match on {@link Code#getTagType()}, but try {@link Code#getId} and {@link Code#getOriginalId()} and
     * {@link Code#getData()} first. With special logic for matching isolated codes.
     */
    LAX,
    /**
     * Use as default for filter merging.
     * Try {@link Code#getId} or {@link Code#getOriginalId()} first, if no match then try {@link Code#getData()}
     * and {@link Code#getTagType()}. With special logic for matching isolated codes.
     */
    STRICT
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy