[ https://issues.apache.org/jira/browse/MAPREDUCE-7400?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Meetu Patel updated MAPREDUCE-7400: ----------------------------------- Description: I am looking to add a new map reduce example, i.e, sentiment analysis. Sentiment analysis map reduce job helps in determining the sentiment score for a user. It takes each tweet made by an user and assigns a sentiment score for that tweet/sentence for a particular user and then aggregates the sentiment scores for all tweets made by all users. You can use command: bin/hadoop jar /HADOOP_PATH/share/hadoop/mapreduce/mapreduce-examples.jar sentimentanalysis <input file/dir path> <output dir path> <word list file path/dir path> For example, you can use the sample files and run the above command as: bin/hadoop jar /HADOOP_PATH/share/hadoop/mapreduce/mapreduce-examples.jar sentimentanalysis sample_data.txt <output dir path> sample_words.txt was: I am looking to add a new map reduce example, i.e, sentiment analysis. Sentiment analysis map reduce job helps in determining the sentiment score for a user. It takes each tweet made by an user and assigns a sentiment score for that tweet/sentence for a particular user and then aggregates the sentiment scores for all tweets made by all users. You can use command: bin/hadoop jar /HADOOP_PATH/share/hadoop/mapreduce/mapreduce-examples.jar sentimentanalysis <input file/dir path> <output dir path> <word list file path/dir path> For example, you can use the sample files and run the above command as: bin/hadoop jar /HADOOP_PATH/share/hadoop/mapreduce/mapreduce-examples.jar sentimentanalysis sample_data.txt <output dir path> sample_words.txt > New Map Reduce Example - Simple Sentiment Analysis > -------------------------------------------------- > > Key: MAPREDUCE-7400 > URL: https://issues.apache.org/jira/browse/MAPREDUCE-7400 > Project: Hadoop Map/Reduce > Issue Type: Test > Components: examples > Reporter: Meetu Patel > Priority: Minor > Labels: in-progress, patch-available > Attachments: MAPREDUCE-7400.patch, sample_data.txt, sample_words.txt > > > I am looking to add a new map reduce example, i.e, sentiment analysis. > Sentiment analysis map reduce job helps in determining the sentiment score > for a user. It takes each tweet made by an user and assigns a sentiment score > for that tweet/sentence for a particular user and then aggregates the > sentiment scores for all tweets made by all users. > You can use command: > bin/hadoop jar /HADOOP_PATH/share/hadoop/mapreduce/mapreduce-examples.jar > sentimentanalysis <input file/dir path> <output dir path> <word list file > path/dir path> > For example, you can use the sample files and run the above command as: > bin/hadoop jar /HADOOP_PATH/share/hadoop/mapreduce/mapreduce-examples.jar > sentimentanalysis sample_data.txt <output dir path> sample_words.txt -- This message was sent by Atlassian Jira (v8.20.10#820010) --------------------------------------------------------------------- To unsubscribe, e-mail: mapreduce-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: mapreduce-issues-h...@hadoop.apache.org