package org.swtk.common.dict.types;

import com.trimc.blogger.commons.LogManager;

public enum DataNounFrameType {

	ACTION("+"),

	HYPERNYM("@"),
	
	PARTONOMY("%p"),

	SYNONYM("~"),

	UNKNOWN_1("-c");

	public static LogManager logger = new LogManager(DataNounFrameType.class);

	public static DataNounFrameType find(String symbol) {
		for (DataNounFrameType value : DataNounFrameType.values())
			if (value.getSymbol().equalsIgnoreCase(symbol)) return value;
		logger.error("WnRelType not found (value = %s)", symbol);
		return null;
	}

	private String symbol;

	private DataNounFrameType(String symbol) {
		setSymbol(symbol);
	}

	public String getSymbol() {
		return symbol;
	}

	private void setSymbol(String symbol) {
		this.symbol = symbol;
	}
}

@@ -177,16 +177,36 @@
 (%22~%22),%0A%0A
+%09UNKNOWN_2(%22%25s%22),%0A%09%0A
 %09UNKNOWN

update DataNounFrameType with unknown rel type - 2