Zh2Vi::Dict::PosDict
PosDict looks up word translations based on token + UTT tag Format: Each line in JSONL is ["tok", "utt", "val"] Where utt is one of: N, V, A, D, P, M, NR, I, F, X
Constructors
new
SourceInstance methods
Look up translation by tok + POS tag (converts to UTT internally)
Look up translation by tok only (fallback, returns first match)
Look up translation by tok + UTT tag directly
size
Source