No description
| .github/workflows | ||
| examples | ||
| lightrag | ||
| reproduce | ||
| .gitignore | ||
| .pre-commit-config.yaml | ||
| LICENSE | ||
| README.md | ||
| requirements.txt | ||
| setup.py | ||
Quick start
- install textract
pip install textract
*example
import textract
# 指定要提取文本的文件路径
file_path = 'path/to/your/file.pdf'
# 从文件中提取文本
text_content = textract.process(file_path)
# 打印提取的文本
print(text_content.decode('utf-8'))