How to weight terms based on semantic importance

marc nicole via Python-list <[email protected]> Wed, 15 Jan 2025 18:40:43 +0100
Newsgroups gmane.comp.python.general,gmane.comp.python.tutor
Message-ID <CAGJtH9TYE-MEqSUHWO-JW5j-d2CtUqet7A_R2fn7A25iScGpFg@mail.gmail.com>
Hello,

I want to weight terms of a large text based on their semantics (not on
their frequency (TF-IDF)).
Is there a way to do that using NLTK or other means? through a vectorizer?

For example: a certain term weights more than others etc...

Thanks