package org.swtk.common.dict.types;

import com.trimc.blogger.commons.LogManager;

public enum DataNounFrameType {

	ACTION("+"),

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

	SYNONYM("~"),

	UNKNOWN_2("%s"),
	
	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;
	}
}

@@ -140,17 +140,16 @@
 M(%22@%22),%0A
-%09
 %0A%09PARTON
@@ -189,33 +189,312 @@
 OWN_
-2(%22%25s%22),%0A%09%0A%09UNKNOWN_1(%22-c
+01(%22-c%22),%0A%0A%09UNKNOWN_02(%22%25s%22),%0A%0A%09UNKNOWN_03(%22~i%22),%0A%0A%09UNKNOWN_04(%22%5C%5C%22),%0A%0A%09UNKNOWN_05(%22@i%22),%0A%0A%09UNKNOWN_06(%22=%22),%0A%0A%09UNKNOWN_07(%22;u%22),%0A%0A%09UNKNOWN_08(%22;r%22),%0A%0A%09UNKNOWN_09(%22;c%22),%0A%0A%09UNKNOWN_10(%22-u%22),%0A%0A%09UNKNOWN_11(%22-r%22),%0A%0A%09UNKNOWN_12(%22%25m%22),%0A%0A%09UNKNOWN_13(%22#s%22),%0A%0A%09UNKNOWN_14(%22#p%22),%0A%0A%09UNKNOWN_15(%22#m%22),%0A%0A%09UNKNOWN_16(%22!
 %22);%0A

update with all frame types - most unknown