-
Notifications
You must be signed in to change notification settings - Fork 2
Description
OK, here's my problem.
I want to POS tagg a text file with product reviews, in order to proceed with sentiment analysis on that opinions.
I downloaded the stanford parser 31/10/2016 and copied the file named english-left3words-distsim.tagger in Matlab's current working path.
I have installed Java in my computer.
I also added stanford-postagger.jar to the classpath using Matlab's command:
javaaddpath(./stanford-postagger-2016-10-31/stanford-postagger.jar')
Last, i call the PosTaggerM(str) function to POS tag the string contained in str variable.
An error about MaxentTagger( ) occurs on line 40 of the PosTaggerM() function which is:
tagger = MaxentTagger('./english-left3words-distsim.tagger');
Having in mind that i don't know Java, so i cannot debug the MaxentTagger method, can i be advised of what to do?
PS: I saw that this POStagging is compatible with Matlab 2014b and i'm working with Matlab 2010b, but i understand that it has to do with the java part, not the Matlab part of the program. Any help or modifications would be very much appreciated.