diff --git a/jmdict.go b/jmdict.go index 5207374..fe88ea7 100644 --- a/jmdict.go +++ b/jmdict.go @@ -170,6 +170,13 @@ type JmdictGlossary struct { // a noun in the target language. When absent, the gender is either // not relevant or has yet to be provided. Gender *string `xml:"g_gend"` + + // g_type attribute added in jmdict Rev 1.09 + // At present the values used are "lit", "fig", "expl" and "tm". It is + // proposed to add a "descr" value to indicate a gloss which is a + // description of the Japanese term rather than a translation or an + // explanation of the meaning. + Type *string `xml:"g_type,attr"` } type JmdictSense struct {