Name | newsnlp-gpr JSON |
Version |
0.6
JSON |
| download |
home_page | |
Summary | This package aims to collect news data via Google News API, preporcessing, implement pretrained news type classifer and sentiment classifier and perform predictive model for news event and then implememnt multiple geolocator. |
upload_time | 2023-02-06 19:56:07 |
maintainer | |
docs_url | None |
author | Jason Lu |
requires_python | >=3.7,<4.0 |
license | |
keywords |
|
VCS |
|
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
![](/home/jason/Documents/data/newplot.png)
#News NLP
===========================
This is a simple Python client for the news NLP.
Usage
-----
First install it
```
pip install newsnlp-gpr
```
Then instantiate and use it like this:
```python
import newsnlp-gpr
from newsnlp-gpr.GNews import GNews
from newsnlp-gpr.preprocessing import Preprocessing_Clf_SA, Preprocessing_GEO,Combine_Col
from newsnlp-gpr.gpr_classifier import GPR_Clf
from newsnlp-gpr.sentiment_clf import Sen_Clf
from newsnlp-gpr.geolocator import Get_CSC_Prob, CSC_Prob
```
* Fetch news articles from Google News API, `from newsnlp-gpr.GNews import GNews`,
* Preproces news data for sentiment analysis and news type classifier, `from newsnlp-gpr.preprocessing import Preprocessing_Clf_SA`
* Preproces news data for multiple-geolocator `from newsnlp-gpr.preprocessing import Preprocessing_GEO`,\
* Implement pretrained deep leanring model to caterise news article `from newsnlp-gpr.gpr_classifier import GPR_Clf`,\
* Perform sentiment classifier `from newsnlp-gpr.sentiment_clf import Sen_Clf`,\
* Implement multiple geolocator `form newsnlp-gpr.geolocator import Get_CSC_Prob, CSC_Prob`,
For a demenstration see `https://github.com/HigherHoopern/News_NLP`
Raw data
{
"_id": null,
"home_page": "",
"name": "newsnlp-gpr",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.7,<4.0",
"maintainer_email": "",
"keywords": "",
"author": "Jason Lu",
"author_email": "luzhenxian@hotmail.com",
"download_url": "https://files.pythonhosted.org/packages/d9/5e/17ca7874d0929b31c84c1c20c26fb8e164ca91114f8fd81063690253a78c/newsnlp_gpr-0.6.tar.gz",
"platform": null,
"description": "\n![](/home/jason/Documents/data/newplot.png)\n#News NLP\n===========================\n\nThis is a simple Python client for the news NLP.\n\nUsage\n-----\nFirst install it\n\n```\npip install newsnlp-gpr\n```\n\nThen instantiate and use it like this:\n\n```python\nimport newsnlp-gpr\nfrom newsnlp-gpr.GNews import GNews\nfrom newsnlp-gpr.preprocessing import Preprocessing_Clf_SA, Preprocessing_GEO,Combine_Col\nfrom newsnlp-gpr.gpr_classifier import GPR_Clf\nfrom newsnlp-gpr.sentiment_clf import Sen_Clf\nfrom newsnlp-gpr.geolocator import Get_CSC_Prob, CSC_Prob\n```\n\n* Fetch news articles from Google News API, `from newsnlp-gpr.GNews import GNews`,\n* Preproces news data for sentiment analysis and news type classifier, `from newsnlp-gpr.preprocessing import Preprocessing_Clf_SA`\n* Preproces news data for multiple-geolocator `from newsnlp-gpr.preprocessing import Preprocessing_GEO`,\\\n* Implement pretrained deep leanring model to caterise news article `from newsnlp-gpr.gpr_classifier import GPR_Clf`,\\\n* Perform sentiment classifier `from newsnlp-gpr.sentiment_clf import Sen_Clf`,\\\n* Implement multiple geolocator `form newsnlp-gpr.geolocator import Get_CSC_Prob, CSC_Prob`,\n\nFor a demenstration see `https://github.com/HigherHoopern/News_NLP`\n\n",
"bugtrack_url": null,
"license": "",
"summary": "This package aims to collect news data via Google News API, preporcessing, implement pretrained news type classifer and sentiment classifier and perform predictive model for news event and then implememnt multiple geolocator.",
"version": "0.6",
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "048f5d2919bc163cae93e8061e1e8ca44cb6437e5eebfbb3820ed50dedcc3c8c",
"md5": "18db229ef2fde772cfd3d1bb51a9a9a7",
"sha256": "b8f6482c1319b6d74ba9ad6dccfc776a7cef55fda61d54d3fe70198cdd41507e"
},
"downloads": -1,
"filename": "newsnlp_gpr-0.6-py3-none-any.whl",
"has_sig": false,
"md5_digest": "18db229ef2fde772cfd3d1bb51a9a9a7",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.7,<4.0",
"size": 22764991,
"upload_time": "2023-02-06T19:55:51",
"upload_time_iso_8601": "2023-02-06T19:55:51.017179Z",
"url": "https://files.pythonhosted.org/packages/04/8f/5d2919bc163cae93e8061e1e8ca44cb6437e5eebfbb3820ed50dedcc3c8c/newsnlp_gpr-0.6-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "d95e17ca7874d0929b31c84c1c20c26fb8e164ca91114f8fd81063690253a78c",
"md5": "60ba2b4bed5a652d60a5b05800b99c10",
"sha256": "6c72268ddf5a24b405a629350a00ac9207b962eb766d327eb05add967de7b213"
},
"downloads": -1,
"filename": "newsnlp_gpr-0.6.tar.gz",
"has_sig": false,
"md5_digest": "60ba2b4bed5a652d60a5b05800b99c10",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.7,<4.0",
"size": 22727533,
"upload_time": "2023-02-06T19:56:07",
"upload_time_iso_8601": "2023-02-06T19:56:07.384786Z",
"url": "https://files.pythonhosted.org/packages/d9/5e/17ca7874d0929b31c84c1c20c26fb8e164ca91114f8fd81063690253a78c/newsnlp_gpr-0.6.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-02-06 19:56:07",
"github": false,
"gitlab": false,
"bitbucket": false,
"lcname": "newsnlp-gpr"
}