Skip to content

Commit

Permalink
Fix 0.18 errors
Browse files Browse the repository at this point in the history
  Remove deprecated summarizer.
  Add profanity and tweet_sentiment dataset dependencies.
  Add release number
  • Loading branch information
husnusensoy committed Feb 21, 2021
1 parent adb7cb5 commit 4582022
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion sadedegel/about.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
__title__ = "sadedegel" # pragma: no cover
__version__ = "0.18" # pragma: no cover
__version__ = "0.18.2" # pragma: no cover
__release__ = True # pragma: no cover
__download_url__ = "https://github.com/globalmaksimum/sadedegel/releases" # pragma: no cover
__herokuapp_url__ = "https://sadedegel.herokuapp.com" # pragma: no cover
2 changes: 1 addition & 1 deletion sadedegel/summarize/evaluate/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
from ..tf_idf import TFIDFSummarizer
from ..baseline import BandSummarizer, RandomSummarizer, PositionSummarizer, LengthSummarizer
from ..rouge import Rouge1Summarizer
from ..rank import TextRank, LexRankPureSummarizer, LexRankSummarizer
from ..rank import TextRank, LexRankSummarizer

import click

Expand Down
7 changes: 5 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,13 @@ def version():
# Needed to silence warnings (and to be a worthwhile package)
name='sadedegel',
# Needed to actually package something
packages=['sadedegel', 'sadedegel.bblock', 'sadedegel.dataset', 'sadedegel.dataset.extended', 'sadedegel.summarize',
packages=['sadedegel', 'sadedegel.bblock',
'sadedegel.dataset', 'sadedegel.dataset.extended', 'sadedegel.dataset.profanity',
'sadedegel.dataset.tweet_sentiment', 'sadedegel.dataset.tscorpus',
'sadedegel.summarize',
'sadedegel.summarize.evaluate',
'sadedegel.summarize.util', 'sadedegel.extension',
'sadedegel.dataset.tscorpus', 'sadedegel.bblock.cli',
'sadedegel.bblock.cli',
'sadedegel.tokenize', 'sadedegel.ml',
'sadedegel.server', 'sadedegel.metrics', 'sadedegel.prebuilt'],
package_data={
Expand Down

0 comments on commit 4582022

Please sign in to comment.