JoeLongstreet Posted October 6, 2009 Share Posted October 6, 2009 Not sure if this is the best place to post a question like this, but I was wondering if anyone had some interesting ideas on how to search a user inputted string for emotion. I'd be looking for two fixed emotions - general positivity and general negativity. I could search each string for specific words (eg. 'Horrible', 'awful', and 'disgusting' would return negative while 'Great', 'Terrific', and 'delicious' would return positive). Just curious to know if anyone has a better idea, or a more thorough way of checking for emotion. Thanks for any ideas you can provide. Joe Quote Link to comment https://forums.phpfreaks.com/topic/176694-analyzing-a-string-as-positive-or-negative/ Share on other sites More sharing options...
cags Posted October 6, 2009 Share Posted October 6, 2009 I believe your option of searching for specific words will be the only real option. There is no characteristic that is specific to postitive or negative terms such as these (to my knowledge). Quote Link to comment https://forums.phpfreaks.com/topic/176694-analyzing-a-string-as-positive-or-negative/#findComment-931550 Share on other sites More sharing options...
Daniel0 Posted October 6, 2009 Share Posted October 6, 2009 Not without determining the adjective beforehand. Otherwise it would require very sophisticated artificial intelligence. Quote Link to comment https://forums.phpfreaks.com/topic/176694-analyzing-a-string-as-positive-or-negative/#findComment-931639 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.