Skip to content

Add a way to get the individual summarized sentences as an array - #1

Open
kball wants to merge 1 commit into
McFreely:masterfrom
kball:add-ability-to-pull-out-bullets
Open

Add a way to get the individual summarized sentences as an array#1
kball wants to merge 1 commit into
McFreely:masterfrom
kball:add-ability-to-pull-out-bullets

Conversation

@kball

@kball kball commented Nov 29, 2016

Copy link
Copy Markdown

Hi there,
Love the gem, using it on a project... got a request to expose the summaries we were generating in a bullet point format rather than paragraph, so I refactored slightly to expose those sentences directly as an array as well as a paragraph summary.

Let me know if there's any way you'd like this updated or changed

Comment thread lib/epitome/corpus.rb
end

def summary(summary_length, threshold=0.2)
def summary_bullets(bullets, threshold=0.2)

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would suggest to rewrite it into summary_array(length, threshold=0.2), what do you think?

@vincent-pochet

Copy link
Copy Markdown

@McFreely Any chance to see this pull request accepted?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants