franfj / Summarizer

Text summarization Python library (in progress)
GNU General Public License v3.0
9 stars 5 forks source link

Investigate about Summ enum type pros & cons #1

Closed franfj closed 6 years ago

franfj commented 6 years ago

Decide whether to keep the Summ enum type or use string literals.

franfj commented 6 years ago

Final decision: Leave Summ enum type. For each entry in the enum a string literal is assigned so the user is the one deciding if using the enum type o the string literal.

Example: summarizer.algo = Summ.TEXT_RANK summarizer.algo = "textRank"

Both assignment are suitable and correct.