불용어 제거, 키워드 추출, 요약, 언어 감지를 제공하는 텍스트 분석 도구
Project description
textminer-pro
자연어 텍스트 처리의 기본 기능을 제공하는 Python 패키지입니다.
키워드 추출
from textminer import extract_keywords
text = "Apple is looking at buying a U.K. startup for $1 billion." keywords = extract_keywords(text, top_n=3) print(keywords) ['spider-man', 'character', 'movie']
언어 감지
from textminer import detect_language
print(detect_language("This is an English sentence.")) # 'en' print(detect_language("안녕하세요 반갑습니다.")) # 'ko' print(detect_language("")) # '유효한 텍스트를 입력하세요.'
텍스트 요약
from textminer import summarize_text
text = ''' Our hub and spoke model sees us headquartered in Utrecht, the Netherlands with specialised operations in key global regions. This allows us to centralise our key functions and strategies while building networks and managing sector and landscape programs where the action is happening. '''
summary = summarize_text(text, num_sentences=2) print(summary)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file textminer_pro001-0.2.4.tar.gz.
File metadata
- Download URL: textminer_pro001-0.2.4.tar.gz
- Upload date:
- Size: 3.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c08db78dafc22743c07e9d109b78b8f607544da72e9b5ab37b2291f3713236c4
|
|
| MD5 |
08f42f97567f3a68cd48b782717bef4a
|
|
| BLAKE2b-256 |
41c9efa8c80f81a695a52da511babee7ebff4566d834ef82cd0e043a5886acfd
|
File details
Details for the file textminer_pro001-0.2.4-py3-none-any.whl.
File metadata
- Download URL: textminer_pro001-0.2.4-py3-none-any.whl
- Upload date:
- Size: 3.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8d7ad9ba3efac6d361e7b94f65ec395eedf06f64cc04c6d65e568924706229e9
|
|
| MD5 |
4da26ac8a0db167746f40043302801ad
|
|
| BLAKE2b-256 |
feb66d47fc938b034707c115d779c306da0721a40fa9171a6f4d3ef0da627826
|