PgsFile 0.4.1__py3-none-any.whl → 0.4.3__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of PgsFile might be problematic. Click here for more details.

@@ -0,0 +1 @@
1
+ Perform OCR on the image and return all the extracted text, including both running paragraphs and tables, without any additional explanation. Ensure that tables are kept in their raw format as accurately as possible, without any content or arrangement changes.
@@ -1,10 +1,10 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: PgsFile
3
- Version: 0.4.1
4
- Summary: This module simplifies Python package management, script execution, file handling, web scraping, and multimedia downloads. The module supports (LLM-based) NLP tasks such as tokenization, lemmatization, POS tagging, NER, keywords extraction, dependency parsing, MDD, WSD, LIWC, and MIP analysis. It also generates word lists, and plots data, aiding literary students. Ideal for scraping data, cleaning text, and analyzing language, it offers user-friendly tools to streamline workflows.
5
- Home-page: https://mp.weixin.qq.com/s/12-KVLfaPszoZkCxuRd-nQ?token=1589547443&lang=zh_CN
3
+ Version: 0.4.3
4
+ Summary: This module simplifies Python package management, script execution, file handling, web scraping, and multimedia downloads. The module supports (LLM-based) NLP tasks such as OCR, tokenization, lemmatization, POS tagging, NER, keywords extraction, dependency parsing, MDD, WSD, LIWC, and MIP analysis. It also generates word lists, and plots data, aiding literary students. Ideal for scraping data, cleaning text, and analyzing language, it offers user-friendly tools to streamline workflows.
5
+ Home-page: https://mp.weixin.qq.com/s/lWMkYDWQMjBJNKY2vMYTpw
6
6
  Author: Pan Guisheng
7
- Author-email: 895284504@qq.com
7
+ Author-email: panguisheng@sufe.edu.cn
8
8
  License: Educational free
9
9
  Classifier: Programming Language :: Python :: 3
10
10
  Classifier: License :: Free For Educational Use
@@ -33,8 +33,8 @@ Key Features:
33
33
  3. **Data Retrieval:** Extract data from various file formats like text, JSON, TSV, Excel, XML, and HTML (both online and offline).
34
34
  4. **Data Storage:** Write and append data to text files, Excel, JSON, and JSON lines.
35
35
  5. **File and Folder Processing:** Manage file paths, create directories, move or copy files, and search for files with specific keywords.
36
- 6. **Data Cleaning:** Clean text, handle punctuation, remove stopwords, and prepare data for analysis, utilizing valuable corpora and dictionaries such as CET-4/6 vocabulary and BNC-COCA word lists.
37
- 7. **NLP:** Perform word tokenization, lemmatization, POS tagging, NER, dependency parsing, keywords extraction, MDD, WSD, LIWC, and MIP analysis using prepared LLM prompts.
36
+ 6. **Data Cleaning:** Clean text, handle punctuation, remove stopwords, and prepare data for analysis, utilizing valuable corpora and dictionaries such as CET-4/6 vocabulary, BE21 and BNC-COCA word lists.
37
+ 7. **NLP:** Perform OCR, word tokenization, lemmatization, POS tagging, NER, dependency parsing, keywords extraction, MDD, WSD, LIWC, and MIP analysis using prepared LLM prompts.
38
38
  8. **Math Operations:** Format numbers, convert decimals to percentages, and validate data.
39
39
  9. **Visualization:** Process images (e.g., make white pixels transparent, resize images) and manage fonts for rendering text.
40
40
 
@@ -1,5 +1,5 @@
1
- PgsFile/PgsFile.py,sha256=yGDHyK4Mq8dCPZRl9KJv9HlKGxTUA1hgprPwAubdwy4,164722
2
- PgsFile/__init__.py,sha256=xCXOhl0tkHYk5ZuL8VbaONiXt9A9o25hOgwx8XQLY9w,3510
1
+ PgsFile/PgsFile.py,sha256=r7aEpi-ZhmUeLUOLDmEV4g5A8eIsI4tUo4LcQ357rOM,167331
2
+ PgsFile/__init__.py,sha256=H6oQNcJ0MPHV7WQFIlsp8y_1HD_kuxCD18zby4AGZGk,3579
3
3
  PgsFile/Corpora/Idioms/English_Idioms_8774.txt,sha256=qlsP0yI_XGECBRiPZuLkGZpdasc77sWSKexANu7v8_M,175905
4
4
  PgsFile/Corpora/Monolingual/Chinese/People's Daily 20130605/Raw/00000000.txt,sha256=SLGGSMSb7Ff1RoBstsTW3yX2wNZpqEUchFNpcI-mrR4,1513
5
5
  PgsFile/Corpora/Monolingual/Chinese/People's Daily 20130605/Raw/00000001.txt,sha256=imOa6UoCOIZoPXT4_HNHgCUJtd4FTIdk2FZNHNBgJyg,3372
@@ -2571,9 +2571,10 @@ PgsFile/Corpora/Stopwords/turkish.txt,sha256=uGUvjEm2GR8PuVY_JeHNxhD7cWlNlF7vc3V
2571
2571
  PgsFile/Corpora/Stopwords/ukrainian.txt,sha256=fEzWLTwnWJriILkO-5jSfE2SpqY-GPf_kR4zid3MFUI,4131
2572
2572
  PgsFile/Corpora/Stopwords/vietnamese.txt,sha256=88yRtVMaRSFqas1iGGa6kOGDCZTgtzRPmR3q9dHshdc,20485
2573
2573
  PgsFile/Corpora/Terminology/Chinese_Thought.json,sha256=CdkuF2wLaDC5V3sRefcU1RZwXm4-wTZ-Qfk8r7gsu8I,2301866
2574
- PgsFile/models/NLPIR.user,sha256=DykLJdr8_cVHrdCnDJES1O5dgmnYqfaSO1_dtAVKYJk,3356
2574
+ PgsFile/models/NLPIR.user,sha256=jLOqi6EhYj9p7eGcTWECcmElwsvNWaUBTSkMeBsO_S4,3356
2575
2575
  PgsFile/models/model_reviews2.2.bin,sha256=D6uL8KZIxD0rfWjH0kYEb7z_HE4aTJXpj82HzsCOpuk,1943196
2576
2576
  PgsFile/models/model_reviews_ReadMe.txt,sha256=Q9uLJwudMmsTKfd11l1tOcIP8lwsemIwnAVJG_3SYjU,11433
2577
+ PgsFile/models/dics/BE21.json,sha256=SsUN3fVyErT71bBIpkP3Owna3eFXaEVlF3whlKiwKvE,792691
2577
2578
  PgsFile/models/dics/BNC_COCA_lists.xlsx,sha256=ua5iQzEf5UQpsCezbsliNF6e_PYHIHGSJUjn9MyEEks,1229313
2578
2579
  PgsFile/models/dics/CET-4 2016 (6314).txt,sha256=NZ3ai_OqIJJLPTPIs4Mc6170gzBIoC0Jgm4cF3tjMdc,57411
2579
2580
  PgsFile/models/dics/CET-6 2016 (1726).txt,sha256=6Bk-R_qVxJRNV8McXqK9Q1uoFvpokB1foK9bUpHxRzE,14914
@@ -2587,8 +2588,9 @@ PgsFile/models/fonts/陆柬之行书字体.ttf,sha256=Zpd4Z7E9w-Qy74yklXHk4vM7HO
2587
2588
  PgsFile/models/prompts/1. MIP prompt.txt,sha256=4lHlHmleayRytqr1n9jtt6vn1rQvyf4BKeThpbwI8o8,1638
2588
2589
  PgsFile/models/prompts/2. WSD prompt.txt,sha256=o-ZFtCRUCDrXgm040WTQch9v2Y_r2SIlrZaquilJjgQ,2348
2589
2590
  PgsFile/models/prompts/3. ICTCLAS Prompt.txt,sha256=VFn6N_JViAbyy9NazA8gjX6SGo5mgBcZOf95aC9JB84,592
2590
- PgsFile-0.4.1.dist-info/LICENSE,sha256=cE5c-QToSkG1KTUsU8drQXz1vG0EbJWuU4ybHTRb5SE,1138
2591
- PgsFile-0.4.1.dist-info/METADATA,sha256=yaW5a8anEhCTX5J1BF_U53hKIAl0z31-03k9d3Tio2Y,2985
2592
- PgsFile-0.4.1.dist-info/WHEEL,sha256=eOLhNAGa2EW3wWl_TU484h7q1UNgy0JXjjoqKoxAAQc,92
2593
- PgsFile-0.4.1.dist-info/top_level.txt,sha256=028hCfwhF3UpfD6X0rwtWpXI1RKSTeZ1ALwagWaSmX8,8
2594
- PgsFile-0.4.1.dist-info/RECORD,,
2591
+ PgsFile/models/prompts/4. OCR prompt.txt,sha256=YxUQ2IlE52k0fcBnGsuOHqWAmfiEmIu6iRz5zecQ8dk,260
2592
+ PgsFile-0.4.3.dist-info/LICENSE,sha256=cE5c-QToSkG1KTUsU8drQXz1vG0EbJWuU4ybHTRb5SE,1138
2593
+ PgsFile-0.4.3.dist-info/METADATA,sha256=51z08PbAHn17jX4KOA7U3Nz_7_id-RtX9w0eLUYXS5o,2980
2594
+ PgsFile-0.4.3.dist-info/WHEEL,sha256=eOLhNAGa2EW3wWl_TU484h7q1UNgy0JXjjoqKoxAAQc,92
2595
+ PgsFile-0.4.3.dist-info/top_level.txt,sha256=028hCfwhF3UpfD6X0rwtWpXI1RKSTeZ1ALwagWaSmX8,8
2596
+ PgsFile-0.4.3.dist-info/RECORD,,