<commit_before>package vars.annotation;

/**
 * Created by IntelliJ IDEA.
 * User: brian
 * Date: Aug 4, 2009
 * Time: 11:37:54 AM
 * To change this template use File | Settings | File Templates.
 */
public enum CameraDirections {

    ASCEND("ascend"), CRUISE("cruise"), DESCEND("descend"), DIELTRANSECT("diel transect"),
    ENDTRANSECT("endtransect"), LAUNCH("launch"), STARTTRANSECT("starttransect"),
    STATIONARY("stationary"), TRANSECT("transect"), OFFTRANSECT("off transect"),
    UNSPECIFIED("unspecified");

    private final String direction;

    CameraDirections(String direction) {
        this.direction = direction;
    }

    public String getDirection() {
        return direction;
    }

    @Override
    public String toString() {
        return direction;
    }

    /**
     * Simlair to valueOf method, but searches for a case insenstive match.
     * Returns UNSPECIFIED if no match was found.
     * @param d
     * @return
     */
    public static CameraDirections findValue(String d) {
        CameraDirections cd = UNSPECIFIED;
        try {<commit_msg>VARS-809: added 'possible duplicate' as camera direction<commit_after>package vars.annotation;

/**
 * Created by IntelliJ IDEA.
 * User: brian
 * Date: Aug 4, 2009
 * Time: 11:37:54 AM
 * To change this template use File | Settings | File Templates.
 */
public enum CameraDirections {

    ASCEND("ascend"),
    CRUISE("cruise"),
    DESCEND("descend"),
    DIELTRANSECT("diel transect"),
    ENDTRANSECT("endtransect"),
    LAUNCH("launch"),
    POSSIBLEDUPLICATE("possible duplicate"),
    STARTTRANSECT("starttransect"),
    STATIONARY("stationary"),
    TRANSECT("transect"),
    OFFTRANSECT("off transect"),
    UNSPECIFIED("unspecified");

    private final String direction;

    CameraDirections(String direction) {
        this.direction = direction;
    }

    public String getDirection() {
        return direction;
    }

    @Override
    public String toString() {
        return direction;
    }

    /**
     * Simlair to valueOf method, but searches for a case insenstive match.
     * Returns UNSPECIFIED if no match was found.
     * @param d
     * @return
     */
    public static CameraDirections findValue(String d) {
        CameraDirections cd = UNSPECIFIED;
        try {
{'fraction_non_alphanumeric': 0.10901926444833625, 'fraction_numerical': 0.010945709281961471, 'mean_word_length': 3.0949820788530467, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7658877', 'n_tokens_mistral': 746, 'n_tokens_neox': 679, 'n_words': 186}