Merge pull request #2 from stephenmk/master
Add glossary attribute "g_type" for jmdict Rev 1.09
This commit is contained in:
commit
5dd00f3bcb
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user