cjhutto / bsd

Bias Statement Detector (BSD) computationally detects and quantifies the degree of bias in sentence-level text of news stories.
MIT License
47 stars 20 forks source link

Statement averaged scores #3

Closed scottagt closed 6 years ago

scottagt commented 6 years ago

CJ, could you have a look and let me know your thoughts? These are the changes I mentioned last week for doing average bias of a statement. It uses sent tokenize from nltk to get sentences and then uses multiprocessing to parallelize the bias scoring of each sentence before averaging together.

Also, I mentioned it earlier in email I think but, I had to import different pattern.en dependencies to get it to work during development but suspect it should work the same if the import sources for pattern.en are not changed assuming same functions are available.

scottagt commented 6 years ago

Thanks @jpfairbanks for comments :)

jpfairbanks commented 6 years ago

@cjhutto @scottagt LGTM? 🚢

scottagt commented 6 years ago

Hi @cjhutto do you approve too?

jpfairbanks commented 6 years ago

@cjhutto Lets get a decision on this today. Will merge by COB

jpfairbanks commented 6 years ago

🍾 🎆