Add glossary attribute "g_type" for jmdict Rev 1.09
This commit is contained in:
parent
8c7ddb0c20
commit
b77b2f92fd
@ -170,6 +170,13 @@ type JmdictGlossary struct {
|
|||||||
// a noun in the target language. When absent, the gender is either
|
// a noun in the target language. When absent, the gender is either
|
||||||
// not relevant or has yet to be provided.
|
// not relevant or has yet to be provided.
|
||||||
Gender *string `xml:"g_gend"`
|
Gender *string `xml:"g_gend"`
|
||||||
|
|
||||||
|
// g_type attribute added in jmdict Rev 1.09
|
||||||
|
// At present the values used are "lit", "fig" and "expl". 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 {
|
type JmdictSense struct {
|
||||||
|
Loading…
Reference in New Issue
Block a user