SenseElement class

The sense element will record the translational equivalent of the Japanese word, plus other related information. Where there are several distinctly different meanings of the word, multiple sense elements will be employed.

Quoted from JMdict:135-138

Constructors

SenseElement(Set<String>? kanjiRestrictions, Set<String>? readingRestrictions, Set<String>? crossReferences, Set<String>? antonyms, Set<String>? pos, Set<String>? field, Set<String>? misc, Set<String>? information, Set<String>? lSource, Set<String>? dial, Set<String> gloss)

Properties

antonyms Set<String>?
This element is used to indicate another entry which is an antonym of the current JMDictEntry/SenseElement. The content of this element must exactly match that of a KanjiElement.element or ReadingElement.element in another entry.
final
crossReferences Set<String>?
This element is used to indicate a cross-reference to another entry with a similar or related meaning or sense. The content of this element is typically a KanjiElement.element or ReadingElement.element element in another entry. In some cases a KanjiElement.element will be followed by a ReadingElement.element and/or a sense number to provide a precise target for the cross-reference. Where this happens, a JIS "centre-dot" (0x2126) is placed between the components of the cross-reference. The target KanjiElement.element or ReadingElement.element must not contain a centre-dot.
final
dialects Set<Dialect>?
For words specifically associated with regional dialects in Japanese, the entity code for that dialect, e.g. Dialect.ksb for Kansaiben.
final
fields Set<SenseField>?
Information about the field of application of the JMDictEntry/SenseElement. When absent, general application is implied. Entity coding for specific fields of application.
final
glossaries Set<SenseGlossary>
See SenseGlossary
final
hashCode int
The hash code for this object.
no setterinherited
information Set<String>?
The sense-information elements provided for additional information to be recorded about a SenseElement. Typical usage would be to indicate such things as level of currency of a sense, the regional variations, etc.
final
isGeneral bool
no setter
kanjiRestrictions Set<String>?
These elements, if present, indicate that the sense is restricted to the lexeme represented by the KanjiElement.element and/or ReadingElement.element.
final
languageSources Set<SenseLanguageSource>?
This element records the information about the source language(s) of a loan-word/gairaigo. If the source language is other than English, the language is indicated by the SenseLanguageSource.language attribute. The SenseLanguageSource.source value (if any) is the source word or phrase.
final
miscellaneous Set<SenseMiscellaneous>?
This element is used for other relevant information about the JMDictEntry/SenseElement. As with part-of-speech, information will usually apply to several senses.
final
partOfSpeeches Set<PartOfSpeech>?
Part-of-speech information about the JMDictEntry/SenseElement. Should use appropriate entity codes. In general where there are multiple senses in an entry, the part-of-speech of an earlier sense will apply to later SenseElements unless there is a new part-of-speech indicated.
final
readingRestrictions Set<String>?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited