More memory profiling
This commit is contained in:
parent
b7f67ec0a6
commit
228e0caa65
7 changed files with 49 additions and 12 deletions
|
@ -79,8 +79,8 @@ module Ebooks
|
|||
@sentences = mass_tokenize(text)
|
||||
@mentions = mass_tokenize(mention_text)
|
||||
|
||||
#log "Ranking keywords"
|
||||
#@keywords = NLP.keywords(@sentences)
|
||||
log "Ranking keywords"
|
||||
@keywords = NLP.keywords(@sentences)
|
||||
|
||||
self
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue