Metadata-Version: 2.1
Name: ytproofreading
Version: 1.0
Summary: A python module to use the proofreading support api of Yahoo! japan
Home-page: https://github.com/6ast1an979/ytproofreading
Author: 6ast1an979
Author-email: 6ast1an979@gmail.com
License: UNKNOWN
Description: # ytproofreading
        
        A python module to use the proofreading support api of Yahoo! japan
        
        ## Installation
        
        ```
        $ pip install ytproofreading
        ```
        
        ## Usage
        
        ```python
        import ytproofreading
        
        appid = "Client ID obtained from the Yahoo! japan Developer Network"
        
        kousei = ytproofreading.Kousei(appid)
        
        text = "遙か彼方に小形飛行機が見える。"
        
        print(kousei.proofreading_support(text))
        """
        [{'startpos': '0', 'length': '2', 'surface': '遙か', 'shitekiword': '●か', 'shitekiinfo': '表外漢字あり'},
        {'startpos': '2', 'length': '2', 'surface': '彼方', 'shitekiword': '彼方（かなた）', 'shitekiinfo': '用字'},
        {'startpos': '5', 'length': '5', 'surface': '小形飛行機', 'shitekiword': '小型飛行機', 'shitekiinfo': '誤変換'}]
        """
        
        print(kousei.proofreading_support(text, 1))
        """
        [{'startpos': '5', 'length': '5', 'surface': '小形飛行機', 'shitekiword': '小型飛行機', 'shitekiinfo': '誤変換'}]
        """
        
        print(kousei.proofreading_support(text, 0, 1))
        """
        [{'startpos': '0', 'length': '2', 'surface': '遙か', 'shitekiword': '●か', 'shitekiinfo': '表外漢字あり'},
        {'startpos': '2', 'length': '2', 'surface': '彼方', 'shitekiword': '彼方（かなた）', 'shitekiinfo': '用字'}]
        """
        ```
        
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3.8
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Description-Content-Type: text/markdown
