Skip to main content

Introduction: textfeatures

When we handle the text data, we always have concerns about the data features, pre-processing of data and more likely the predictions. To improve our model, it is important to understand the data and find the more interesting features in the data like hashtags, links and many more.

What is textfeatures?

It is a python package which helps you to extract the basic features from the text data such as hashtags, stopwords, numerics which will help you to understand the data and improve your model more effectively.

Function structure:

function_name(dataframe, ”text_column”, ”new_column”)

dataframe:- name of dataframe

text_column:- name of the column from which features are to be extracted.

new_column:- new column derived by feature extraction from text_column.

What will textfeatures serve you?

1. word_count():- give the total words count present in text data.

2. char_count():- give the characters count.

3. avg_word_length():- give the average word length.

4. stopwords_count():- give the stopwords count.

5. stopwords():- extract the stopwords from the text data.

6. hashtags_count():- give the hashtags count.

7. hashtags():- extract the hashtags from text data.

8. links_count():- give the embedded links count from text data.

9. links():- extract the links from the text data.

10. numeric_count():- give the numeric digits count.

11. user_mentions_count():- give the user mentions count from text data.

12. user_mentions():- extract the user mentions from text data.

13. clean():- give the pre-processed data after removal for unnecessary material in text data.

Metadata

Release files for textfeatures 0.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for textfeatures 0.0.2
File Interpreter ABI Platform
textfeatures-0.0.2-py3-none-any.whl Python 3 none any Details

Release files / textfeatures-0.0.2-py3-none-any.whl

Download URL textfeatures-0.0.2-py3-none-any.whl
Size 3.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ce9574bd0b4e03a50615d05701cd30fc48f451389fc7694360348498da0fceef
BLAKE2b-256 checksum
How to use checksums
27252ead3ed336ed0082474e493c045aad3aa3cf3df96bcf5e78585f0a89f06b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.4.2 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.26.0 CPython/3.7.0

Release history Release notifications | RSS feed

This release

0.0.2 This release

1 release file

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page