vi3k6i5 / flashtext

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

Feature request: get number of keywords registered #15

Closed kootenpv closed 6 years ago

kootenpv commented 6 years ago

Maybe len(kp) or kp.size.

vi3k6i5 commented 6 years ago

Added len(kp) as a feature in develop branch. Added test/test_kp_len.py as well.

vi3k6i5 commented 6 years ago

Added in flashtext-2.4 :)

kootenpv commented 6 years ago

Very nice, am using it :) I was immediately interested in how many terms I had actually inserted in my project.