mecab-0.3.0: A Haskell binding to MeCab

Safe HaskellSafe-Infered

Text.MeCab

Documentation

new :: [String] -> IO MeCabSource

new2 :: String -> IO MeCabSource

parse :: MeCabString str => MeCab -> str -> IO strSource

parseNBest :: MeCabString str => MeCab -> Int -> str -> IO strSource

parseNBestInit :: MeCabString str => MeCab -> str -> IO ()Source

next :: MeCabString str => MeCab -> IO (Maybe str)Source

nextNode :: MeCabString str => MeCab -> IO [Node str]Source

data Node str Source

Instances

Eq str => Eq (Node str) 
Read str => Read (Node str) 
Show str => Show (Node str) 

data Stat Source

Constructors

NOR 
UNK 
BOS 
EOS 

Instances

parseToNode :: MeCabString str => MeCab -> str -> IO [Node str]Source

setPartial :: MeCab -> Bool -> IO ()Source

setTheta :: MeCab -> Double -> IO ()Source

setAllMorphs :: MeCab -> Int -> IO ()Source