Skip to content

The script creates a list with all the 4-grams in the sentence in a particular structure.

Notifications You must be signed in to change notification settings

ramashelke/4grams

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

4grams

The script defines the following function:

processSentence(sentence,posLex,negLex,tagger): The parameters of this function are a sentence (a string), a set of positive words, a set of negative words, and a POS tagger. The function returns a list with all the 4-grams in the sentence that have the following structure:

not any-word pos/neg word(noun)

For example: not a good idea

About

The script creates a list with all the 4-grams in the sentence in a particular structure.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages