Group Abstract Group Abstract

Message Boards Message Boards

A basic NLP application with Classify

Posted 10 years ago
POSTED BY: William Duhe
3 Replies

enter image description here - another post of yours has been selected for the Staff Picks group, congratulations !

We are happy to see you at the tops of the "Featured Contributor" board. Thank you for your wonderful contributions, and please keep them coming!

POSTED BY: EDITORIAL BOARD
Posted 10 years ago

There are some options in the settings of the Nuance software that allow you to set unsupported external applications as the program to accept the "Dictation Box" of Dragon. Check this piece of documentation:

http://www.nuance.com/products/help/dragon/dragon-for-pc/enx/professionalgroup/main/Content/Dictation/using_the_dictation_box.htm

Basically - I just hacked it to work with a dynamic front end text box that dynamically accepts what I say as I talk - checks for a minimum number of letters and then makes the analysis using a RunScheduledTask[] like bellow:.

RunScheduledTask[
 statementLength = StringLength@statement;
 If[statementLength > 15,
  resultsProbabilities = 
   Classify["Sentiment", {ToString[stuff]}, "Probabilities"];
  topic = Classify["FacebookTopic", {ToStringstatement]}];
  sentiment= Classify["Sentiment", {ToString[statement]}];
  lastStatement = statement;
  stuff = "";
  ]
 , 2]
POSTED BY: William Duhe

Nice! Did I understand correctly that in the video you had a feed between Mathematica and Dragon Speech Recognition Software? If yes, how did you do that?

POSTED BY: Sam Carrettie
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard