sibe-0.2.0.1: Machine Learning algorithms
Numeric.Sibe.NLP
type Class = Int Source #
data Document Source #
Constructors
Fields
Instances
Methods
(==) :: Document -> Document -> Bool #
(/=) :: Document -> Document -> Bool #
readsPrec :: Int -> ReadS Document #
readList :: ReadS [Document] #
readPrec :: ReadPrec Document #
readListPrec :: ReadPrec [Document] #
showsPrec :: Int -> Document -> ShowS #
show :: Document -> String #
showList :: [Document] -> ShowS #
accuracy :: [(Int, (Int, Double))] -> Double Source #
recall :: [(Int, (Int, Double))] -> Double Source #
precision :: [(Int, (Int, Double))] -> Double Source #
fmeasure :: [(Int, (Int, Double))] -> Double Source #
cleanText :: String -> String Source #
cleanDocuments :: [Document] -> [Document] Source #
removeWords :: [String] -> [Document] -> [Document] Source #
removeStopwords :: Int -> [Document] -> [Document] Source #
ngram :: Int -> [Document] -> [Document] Source #
ngramText :: Int -> String -> String Source #