struct Wakame::MeCabNode
- Wakame::MeCabNode
- Struct
- Value
- Object
Overview
Wrapper for the Wakame::Lib::MeCabNodeT
structure
holding attributes of the parsed node.
Included Modules
Defined in:
wakame/node.crConstructors
Instance Method Summary
-
#alpha : Float32
This method forwards the call to the underlying
Wakame::Lib::MeCabNodeT
structure. -
#beta : Float32
This method forwards the call to the underlying
Wakame::Lib::MeCabNodeT
structure. -
#bnext : MeCabNode | Nil
This method forwards the call to the underlying
Wakame::Lib::MeCabNodeT
structure, resolves the pointer returned, and returns the wrapped variant of it. -
#bos_node? : Bool
Calls
NodeStatus#bos_node?
of the#stat
. -
#char_type : UInt8
This method forwards the call to the underlying
Wakame::Lib::MeCabNodeT
structure. -
#cost : LibC::Long
This method forwards the call to the underlying
Wakame::Lib::MeCabNodeT
structure. -
#enext : MeCabNode | Nil
This method forwards the call to the underlying
Wakame::Lib::MeCabNodeT
structure, resolves the pointer returned, and returns the wrapped variant of it. -
#eon_node? : Bool
Calls
NodeStatus#eon_node?
of the#stat
. -
#eos_node? : Bool
Calls
NodeStatus#eos_node?
of the#stat
. -
#feature : String
Feature string
-
#formatted : String
Formatted variant of this node.
-
#id : UInt32
This method forwards the call to the underlying
Wakame::Lib::MeCabNodeT
structure. -
#is_best? : Bool
Returns true if this node is the best node.
-
#lc_attr : UInt16
This method forwards the call to the underlying
Wakame::Lib::MeCabNodeT
structure. -
#length : UInt16
This method forwards the call to the underlying
Wakame::Lib::MeCabNodeT
structure. -
#lpath : MeCabPath | Nil
This method forwards the call to the underlying
Wakame::Lib::MeCabPathT
structure, resolves the pointer returned, and returns the wrapped variant of it. -
#next : MeCabNode | Nil
This method forwards the call to the underlying
Wakame::Lib::MeCabNodeT
structure, resolves the pointer returned, and returns the wrapped variant of it. -
#normal_node? : Bool
Calls
NodeStatus#normal_node?
of the#stat
. -
#pointer : Pointer(Wakame::Lib::MeCabNodeT)
Pointer to the underlying structure.
-
#posid : UInt16
This method forwards the call to the underlying
Wakame::Lib::MeCabNodeT
structure. -
#prev : MeCabNode | Nil
This method forwards the call to the underlying
Wakame::Lib::MeCabNodeT
structure, resolves the pointer returned, and returns the wrapped variant of it. -
#prob : Float32
This method forwards the call to the underlying
Wakame::Lib::MeCabNodeT
structure. -
#rc_attr : UInt16
This method forwards the call to the underlying
Wakame::Lib::MeCabNodeT
structure. -
#rlength : UInt16
This method forwards the call to the underlying
Wakame::Lib::MeCabNodeT
structure. -
#rpath : MeCabPath | Nil
This method forwards the call to the underlying
Wakame::Lib::MeCabPathT
structure, resolves the pointer returned, and returns the wrapped variant of it. -
#stat : Wakame::MeCabNode::NodeStatus
Status of this model.
-
#surface : String
Surface string
-
#unknown_node? : Bool
Calls
NodeStatus#unknown_node?
of the#stat
. -
#wcost : Int16
This method forwards the call to the underlying
Wakame::Lib::MeCabNodeT
structure.
Constructor Detail
Instance Method Detail
This method forwards the call to the underlying Wakame::Lib::MeCabNodeT
structure.
See Wakame::Lib::MeCabNodeT#alpha
for details.
This method forwards the call to the underlying Wakame::Lib::MeCabNodeT
structure.
See Wakame::Lib::MeCabNodeT#beta
for details.
This method forwards the call to the underlying Wakame::Lib::MeCabNodeT
structure,
resolves the pointer returned, and returns the wrapped variant of it.
See Wakame::Lib::MeCabNodeT#bnext
for details on the underlying value.
This method forwards the call to the underlying Wakame::Lib::MeCabNodeT
structure.
See Wakame::Lib::MeCabNodeT#char_type
for details.
This method forwards the call to the underlying Wakame::Lib::MeCabNodeT
structure.
See Wakame::Lib::MeCabNodeT#cost
for details.
This method forwards the call to the underlying Wakame::Lib::MeCabNodeT
structure,
resolves the pointer returned, and returns the wrapped variant of it.
See Wakame::Lib::MeCabNodeT#enext
for details on the underlying value.
Formatted variant of this node.
The format can be specified with the options output_format_type
or
node_format
when instantiating the Wakame::MeCab
class.
This method forwards the call to the underlying Wakame::Lib::MeCabNodeT
structure.
See Wakame::Lib::MeCabNodeT#id
for details.
This method forwards the call to the underlying Wakame::Lib::MeCabNodeT
structure.
See Wakame::Lib::MeCabNodeT#lc_attr
for details.
This method forwards the call to the underlying Wakame::Lib::MeCabNodeT
structure.
See Wakame::Lib::MeCabNodeT#length
for details.
This method forwards the call to the underlying Wakame::Lib::MeCabPathT
structure,
resolves the pointer returned, and returns the wrapped variant of it.
See Wakame::Lib::MeCabPathT#lpath
for details on the underlying value.
This method forwards the call to the underlying Wakame::Lib::MeCabNodeT
structure,
resolves the pointer returned, and returns the wrapped variant of it.
See Wakame::Lib::MeCabNodeT#next
for details on the underlying value.
This method forwards the call to the underlying Wakame::Lib::MeCabNodeT
structure.
See Wakame::Lib::MeCabNodeT#posid
for details.
This method forwards the call to the underlying Wakame::Lib::MeCabNodeT
structure,
resolves the pointer returned, and returns the wrapped variant of it.
See Wakame::Lib::MeCabNodeT#prev
for details on the underlying value.
This method forwards the call to the underlying Wakame::Lib::MeCabNodeT
structure.
See Wakame::Lib::MeCabNodeT#prob
for details.
This method forwards the call to the underlying Wakame::Lib::MeCabNodeT
structure.
See Wakame::Lib::MeCabNodeT#rc_attr
for details.
This method forwards the call to the underlying Wakame::Lib::MeCabNodeT
structure.
See Wakame::Lib::MeCabNodeT#rlength
for details.
This method forwards the call to the underlying Wakame::Lib::MeCabPathT
structure,
resolves the pointer returned, and returns the wrapped variant of it.
See Wakame::Lib::MeCabPathT#rpath
for details on the underlying value.
This method forwards the call to the underlying Wakame::Lib::MeCabNodeT
structure.
See Wakame::Lib::MeCabNodeT#wcost
for details.