struct Wakame::MeCabPath

Overview

Wrapper for the Wakame::Lib::MeCabNodeT structure.

Included Modules

Defined in:

wakame/path.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pointer : Pointer(Lib::MeCabPathT)) #

[View source]

Instance Method Detail

def cost : Int32 #

This method forwards the call to the underlying Wakame::Lib::MeCabPathT structure.

See Wakame::Lib::MeCabPathT#cost for details.


[View source]
def lnext : 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.

See Wakame::Lib::MeCabPathT#lnext for details on the underlying value.


[View source]
def lnode : 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.

See Wakame::Lib::MeCabNodeT#lnode for details on the underlying value.


[View source]
def pointer : Pointer(Wakame::Lib::MeCabPathT) #

Pointer to the underlying structure.


[View source]
def prob : Float32 #

This method forwards the call to the underlying Wakame::Lib::MeCabPathT structure.

See Wakame::Lib::MeCabPathT#prob for details.


[View source]
def rnext : 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.

See Wakame::Lib::MeCabPathT#rnext for details on the underlying value.


[View source]
def rnode : 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.

See Wakame::Lib::MeCabNodeT#rnode for details on the underlying value.


[View source]