Re:Analyze Your HN Posts with Watson User Modeling
by flatline on Wednesday October 08, 2014 @02:15PM
(#8428471)
Would love to see something like this for reddit, where I'm a more active poster on a wider variety of issues.
[ Parent
| on HN ]
Re:Analyze Your HN Posts with Watson User Modeling
by Tiksi on Thursday October 09, 2014 @07:16AM
(#8431665)
Another commenter mentioned http://watson-um-demo.mybluemix.net/demo above, so I threw this together in bash for reddit comments. Bit more of a pain that entering a username, but if you take this:
function redcom(){ ! [ -z "$2" ] && i="&after=$2" || i=""; data=$(curl -s "https://www.reddit.com/user/${1}/comments.json?count=100${i}"); j=$(jq -e -r '.data["after"]' <<<$data); echo $j; (jq -e -r '.data["children"][]["data"]["body"]' <<<$data)>>${1}-redcom.txt; echo $(echo -e $data|wc -l) lines; ( [ "$j" = "null" ] || [ -z "$j" ] ) || redcom $1 $j ;} ;
run it in bash, then run redcom <user>, it should throw all your comments into <user>-redcom.txt which you can then copy/paste to http://watson-um-demo.mybluemix.net/demo
Re:Analyze Your HN Posts with Watson User Modeling
by ljk on Wednesday October 08, 2014 @02:36PM
(#8428615)
something like this?
Re:Analyze Your HN Posts with Watson User Modeling
by Jonovono on Wednesday October 08, 2014 @02:46PM
(#8428682)
Interesting! I like the fun guessed data. I am from Canada, game of choice is ping pong, nor do I have children.
"""
Probably from: Canada
Support OWS: Probably no or doesn't care.
Children: I do not think so...
Gamer: Only pong probably...
Like trees: Must be in a really good mood.
Behavior: Candidate as replace for Good Guy Greg
"""