JiebaSegmenter class

Constructors

JiebaSegmenter()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

calc(String sentence, Map<int, List<int>> dag) Map<int, Pair<int>>
createDAG(String sentence) Map<int, List<int>>
initUserDict(String path) → void
initialize the user dictionary.
initUserDicts(List<String> paths) → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
process(String paragraph, SegMode mode) List<SegToken>
sentenceProcess(String sentence) List<String>
toString() String
A string representation of this object.
inherited

Operators

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

Static Properties

finalSeg FinalSeg?
getter/setter pair
wordDict WordDictionary?
getter/setter pair

Static Methods

init() Future<void>