Metadata-Version: 2.1
Name: stopwds
Version: 0.1.5
Summary: Stopwords in NLP 🦜
Home-page: https://github.com/szj2ys/stopwds
Author: szj
Author-email: szj2ys@qq.com
License: MIT
Description: 
        
        <p align="center">
            <img width="200" src="https://github.com/szj2ys/stopwds/raw/master/stopwds/datasets/resources/logo.png"/>
        </p>
        
        <h3 align="center">
            <p>Stopwords in NLP</p>
        </h3>
        
        
        <p align="center">
            <a href="https://python.org/pypi/stopwds">
                <img src="https://badge.fury.io/py/stopwds.svg" alt="Version"/>
            </a>
            <a href="https://python.org/pypi/stopwds">
                <img src="https://img.shields.io/pypi/l/stopwds.svg?color=orange" alt="License"/>
            </a>
            <a href="https://python.org/pypi/stopwds">
                <img src="https://img.shields.io/pypi/dm/stopwds?color=blue" alt="pypi downloads"/>
            </a>
            <a href="https://python.org/pypi/stopwds">
                <img src="https://img.shields.io/github/last-commit/szj2ys/stopwds?color=blue" alt="GitHub last commit"/>
            </a>
            <a href="https://github.com/szj2ys/stopwds">
                <img src="https://img.shields.io/github/stars/szj2ys/stopwds?style=social" alt="Stars"/>
            </a>
        </p>
        
        # Installation
        ```shell
        pip install stopwds
        ```
        you may want to checkout the version
        ```shell
        stopwds version
        ```
        
        
        # Usage
        
        ## stopwords
        ```python
        from stopwds import stopwords
        
        '''
        baidu: 百度停用词表
        hit: 哈工大停用词表
        scu: 四川大学机器智能实验室停用词表
        cn: 中文停用词表
        '''
        for stopword in stopwords('baidu'):
            print(stopword)
        ```
        and you can use like this:
        ```python
        from stopwds import stopwords
        import jieba
        
        text = ('医美产业崛起的同时，我国医美行业也形成了一条清晰且完整的产业链，上游医美产品生产企业占据了产业链核心环节。')
        cut_sent = [word for word in jieba.cut(text) if word and word not in stopwords()]
        ```
        
        ## Acknowlegements
        *   stopwords
        
Platform: UNKNOWN
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Requires-Python: >=3.6.0
Description-Content-Type: text/markdown
