https://github.com/sai3010/document-analyser
First attempt to build a text classifer for pdf documents using textblob
https://github.com/sai3010/document-analyser
Last synced: 3 months ago
JSON representation
First attempt to build a text classifer for pdf documents using textblob
- Host: GitHub
- URL: https://github.com/sai3010/document-analyser
- Owner: sai3010
- Created: 2020-03-25T16:57:04.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2020-03-27T17:17:13.000Z (about 5 years ago)
- Last Synced: 2025-01-01T20:10:01.379Z (5 months ago)
- Language: Python
- Homepage:
- Size: 3.91 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# document-analyser
First attempt to build a text classifer for pdf documents using textblob## How to use this
- clone the repository
- take any sample pdf file
- ```pip3 install textblob PyPDF2```
- run the code using the following command ```python3 app.py -f sample.pdf```#### Each sentence in the pdf is analysed as positive or negative
# Note
The accuracy will definitely be poor due to lack of dataset, please feel free to create a pull request to add more data or make changes :)### License
```
Copyright 2020 Saiprasanth R.Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License athttp://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.