Texthero
Getting started
Tutorial
API
GitHub
›
Representation
Preprocessing
Preprocessing
preprocessing.clean
preprocessing.drop_no_content
preprocessing.get_default_pipeline
preprocessing.has_content
preprocessing.remove_angle_brackets
preprocessing.remove_curly_brackets
preprocessing.remove_diacritics
preprocessing.remove_digits
preprocessing.remove_html_tags
preprocessing.remove_punctuation
preprocessing.remove_round_brackets
preprocessing.remove_square_brackets
preprocessing.remove_stopwords
preprocessing.remove_urls
preprocessing.remove_whitespace
preprocessing.replace_punctuation
preprocessing.replace_stopwords
preprocessing.replace_urls
preprocessing.stem
preprocessing.tokenize
preprocessing.remove_brackets
NLP
NLP
nlp.dependency_parse
nlp.named_entities
nlp.noun_chunks
Representation
Representation
representation.dbscan
representation.kmeans
representation.meanshift
representation.nmf
representation.pca
representation.tfidf
representation.tsne
representation.term_frequency
Visualization
Visualization
visualization.scatterplot
visualization.wordcloud
visualization.top_words
texthero.representation.nmf
¶
nmf
(
s
,
n_components
=
2
)
¶
Perform non-negative matrix factorization.
←
representation.meanshift
representation.pca
→