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

define __getnewargs__(self) of class Score in order to make it serializable with pickle #290

Open antheymans opened 4 years ago

antheymans commented 4 years ago

pickle need this function in order to give right argument to new() and serialize this object

coveralls commented 4 years ago

Coverage Status

Coverage decreased (-0.8%) to 67.47% when pulling 9cbbb45035b69a86a24a9e7af33c48fa624ad224 on antheymans:master into 5b85d998c30ddc6772b56310713530224466083a on clips:master.