Hi,
I am trying to fragment sentences based on a conjunction join for sentiment analysis.
For eg
Case 1
"The coffee was great but not the juice"
Case 2
"The coffee and the juice was great"
In case 1 there are 2 independent sentiments being put into one sentence and hence this sentence should be separated into 2 phrases. However in case 2 the sentiment is the same for both juice and coffee and hence the sentence need not be broken.
Is there a technique for doing this in nltk?
If not can someone suggest a technique / research paper which might help me