텍스트 분석을 위한 Python 패키지
Project description
markdown# TextMiner Pro
고급 텍스트 분석을 위한 Python 패키지입니다.
기능
- 불용어 제거 (
remove_stopwords): NLTK를 사용한 불용어 제거 - 키워드 추출 (
extract_keywords): TF-IDF 기반 핵심 키워드 추출 - 텍스트 요약 (
summarize): Gensim을 활용한 텍스트 요약 - 언어 감지 (
detect_language): langdetect를 사용한 언어 감지
설치
pip install textminer-pro-asddzxqw
사용법
pythonfrom textminer import remove_stopwords, extract_keywords, summarize, detect_language
# 불용어 제거
text = "This is a sample text with some common stopwords"
clean_text = remove_stopwords(text)
print(clean_text)
# 키워드 추출 (상위 5개)
keywords = extract_keywords(text, top_n=5)
print(keywords)
# 텍스트 요약 (20% 길이로)
long_text = "여기에 긴 텍스트를 입력..."
summary = summarize(long_text, ratio=0.2)
print(summary)
# 언어 감지
language = detect_language(text)
print(f"감지된 언어: {language}")
라이선스
MIT License
저자
asddzxqw (kk020929@naver.com)
## 5단계: VSCode에서 테스트 실행
**VSCode 터미널에서 다음 명령어로 테스트:**
```bash
# 현재 위치 확인 (프로젝트 루트에 있어야 함)
pwd
# 패키지가 제대로 import되는지 테스트
python -c "from textminer import remove_stopwords; print('Import 성공!')"
# 단위 테스트 실행
python -m pytest tests/ -v
# 또는 unittest로 실행
python -m unittest discover tests/
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_pro_asddzxqw-0.1.0.tar.gz.
File metadata
- Download URL: textminer_pro_asddzxqw-0.1.0.tar.gz
- Upload date:
- Size: 5.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7a6fbf23a1b2a2e25486465db9281def8b85b074dea7651b5a110d4876199cad
|
|
| MD5 |
8cb292b79d6d40d94e893891827426c1
|
|
| BLAKE2b-256 |
75907b644ad48f6d85305f6c3803bd4bc1c3e8a75db69d425374f7c6cbdf83c7
|
File details
Details for the file textminer_pro_asddzxqw-0.1.0-py3-none-any.whl.
File metadata
- Download URL: textminer_pro_asddzxqw-0.1.0-py3-none-any.whl
- Upload date:
- Size: 6.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7c3e62f8b9bfc0d699646a73fe02c66aafaf524d4c9ed5b3483b67ddd89de3ce
|
|
| MD5 |
dd826c8411af4a5bec77a85233447d7c
|
|
| BLAKE2b-256 |
02315bfbe7854106947e6c2cbd2d873e96fedf2139b647358f31dcf868fa953b
|