Germanet class

Constructors

Germanet(String datadir, {bool addIlirecords = true, bool addWictionary = true, bool loadDataDirectly = true})
The GermaNet object is initialized with the directory where the GermaNet data is stored. The data is loaded when GermaNet is initialized. String datadir: The path to the directory where the GermaNet data is stored bool addIlirecords: a boolean, denotes whether the iliRecords should also be loaded into the GermaNet bool addWictionary: a boolean, denotes whether the wiktionary files should also be loaded into the GermaNet bool loadDataDirectly: whether to load the data directly

Properties

addIlirecords bool
getter/setter pair
addWictionary bool
getter/setter pair
compounds Set
getter/setter pair
datadir String
getter/setter pair
frames ↔ Frames
getter/setter pair
frames2lexunits Map
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
iliRecords List
getter/setter pair
lexunits Map
getter/setter pair
lowercasedform2lexid Map
getter/setter pair
mainOrtform2lexid Map
getter/setter pair
orthform2lexid Map
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sCONREL String
getter/setter pair
sDIRECTION String
getter/setter pair
sEDITED String
getter/setter pair
sEWNREL String
getter/setter pair
sFROMNODE String
getter/setter pair
sID String
getter/setter pair
sINVERSE String
getter/setter pair
sLEXID String
getter/setter pair
sLEXREL String
getter/setter pair
sNAME String
getter/setter pair
sPWN20ID String
getter/setter pair
sPWN20PARAPHRASE String
getter/setter pair
sPWN30ID String
getter/setter pair
sPWNWORD String
getter/setter pair
sSENSE String
getter/setter pair
sSENSEID String
getter/setter pair
sSOURCE String
getter/setter pair
sTONODE String
getter/setter pair
synsets Map
getter/setter pair
wiktionaryEntries List
getter/setter pair
wordcat2lexid Map
getter/setter pair
wordclass2lexid Map
getter/setter pair

Methods

exists(String form, {bool ignorecase = false}) bool
getLexunitById(String id) Lexunit
Returns a lexical unit by a specified identifier (if that exists, otherwise raises an Error)
getLexunitsByOrthform(String form, {bool ignorecase = false}) List<Lexunit>
This method returns a list of lexical units that match the given input search string
getLexunitsByWordcategory(WordCategory category) List<Lexunit>
Returns a list of lexical units that belong to the specified word category
getLexunitsByWordclass(WordClass classA) List<Lexunit>
Returns a list of lexical units that belong to the specified word class
getSynsetById(String id) Synset
Returns a Synset by a specified identifier (if that exists, otherwise raises an Error)
getSynsetsByFrame(String frame) List<Synset>
Returns a list of Synsets that match a specified frame frame: a frame that describes the argument structure of a verb (e.g. 'NN.AN' specifies that a verb can take a subject and accusative object as arguments.)
getSynsetsByOrthform(String form, {bool ignorecase = false}) List<Synset>
This method returns a list of synsets that match the given input search string
getSynsetsByWordcategory(WordCategory category) List<Synset>
Returns a list of synsets that belong to the specified word category
getSynsetsByWordclass(WordClass wordClass) List<Synset>
Returns a list of synsets that belong to the specified word class
loadData({GermanetMessage? germanetMessage, SecurityCryptInterpreter? securityCryptInterpreter, bool usePseudoFiles = false, List<PseudoFile>? pseudoFiles}) Future<void>
loading the GermanNet files (at datadir). This can take up to 10 seconds a Future
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
root() Synset
toString() String
A string representation of this object.
inherited

Operators

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