jbesomi / texthero

Text preprocessing, representation and visualization from zero to hero.
https://texthero.org
MIT License
2.89k stars 239 forks source link

Is there any function to find how the weights are calculated for each word to represent a sentence? #229

Open cassin-edwin opened 1 year ago

cassin-edwin commented 1 year ago

Is there any function or way to get the weights each word is given while calculating each component.

I would want to see something like this? This will be really helpful as it will help me with interpretability in getting to know what weight was given to each word. image Source : https://www.displayr.com/principal-component-analysis-of-text-data/