clips / pattern

Web mining module for Python, with tools for scraping, natural language processing, machine learning, network analysis and visualization.
https://github.com/clips/pattern/wiki
BSD 3-Clause "New" or "Revised" License
8.72k stars 1.58k forks source link

Mood if Statements Order #321

Open nershman opened 3 years ago

nershman commented 3 years ago

I would like to know if the order of the if statements for the mood() function is intentional or not. It seems strange to return the first mood detected rather than checking for the presence of each of them.