in reply to Re: how to use Algorithm::NaiveBayes module
in thread how to use Algorithm::NaiveBayes module

Hi! Thank you for your code again. Can you please tell me the function of Data::Dumper? if I want to classify each training sentence in to certain category, such as: revenue, cost, profit and so on, since the same word will have different tone in different environment, for example: the word increase would be positive, if it appears in the sentence about revenue, but it would be negative, if it appears in the sentence about cost. How can I modify the code to implement the function? Your reply will be helpful to me. Thank you!
  • Comment on Re^2: how to use Algorithm::NaiveBayes module