wardbradt / HTMLST

A library to extract sentences from HTML
MIT License
12 stars 4 forks source link

docs(README): fix import statement #3

Closed ThibTrip closed 2 years ago

ThibTrip commented 3 years ago

Note: HTMLSentenceTokenizer is both a module and a class. This is confusing. Perhaps consider renaming HTMLSentenceTokenizer.py to core.py? Then add a __init__.py module with the line from htmlst.core import HTMLSentenceTokenizer. It would then work as one would expect (from htmlst import HTMLSentenceTokenizer)