vi3k6i5 / flashtext

Extract Keywords from sentence or Replace keywords in sentences.
MIT License
5.57k stars 599 forks source link

Total keywords count #93

Open andreamoro opened 4 years ago

andreamoro commented 4 years ago

It would be good to have a count getter to obtain the number of keywords processed by.

Using the processor to identify the presence of the keywords, but still in need to split the source and remove any delimiter doesn't sound efficient to me.

Looking at the class methods, I couldn't get anything and the count method returns the count of occurrences found.