You can search for identifiers within the package.
in-package search v0.2.0
wseg
Wseg.Dict
module Tree : sig ... end
type entry = string * float
(word|char) * (count|occurrence probability)
type entries = entry list
type word = string list * float
(char list) * (occurrence probability)
type chunk = word list
val dispConds : word list -> unit
print all conditions
val dispCands : chunk list -> unit
print all candidates
val result_of_cand : chunk -> string
compose a result string from a candidate
val buildEntries : entries -> entries
build a (word|char * occurrence probability) entry list from a (word|char * count) list
val buildIndex : entries -> float Tree.node
build an index, to be used as a dictionary
val candidates : float Tree.node -> string -> int -> chunk list
query all the candidates from a dictionary. Dict.candidates dict str max query str in dict, and limit maximum number in a chunk to be max
Dict.candidates dict str max
str
dict
max