bug/parse chinese document ( tranditional chinese ) with attachment
Maintainers usually reply within 6 days
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 35/100
- Issue type
- Bug
- Clarity
- Needs clarification
- Activity status
- Stale
- Domain
- computer-vision, machine-learning
Research direction
Start by comparing govform02.pdf with result_from_official_unstructured.json and result_from_testing_server_installed_unstructured.json, then review the supplied extraction_config, especially the hi_res strategy, detectron2_onnx model, OCR languages, and language list. Done means the testing-server output agrees on the first element's Title type and identifies the document as Chinese.
Written by the indexing model from the issue text.
Description
result_from_official_unstructured.json
result_from_testing_server_installed_unstructured.json
- first element , official give type : Title, testing server , give UncategorizedText
- testing server , language , said : kor, it should be chinese , lang detect problem
additional info : about the testing server config
self.extraction_config = {
'strategy' : 'hi_res', # 高精度策略
'model_name' : "detectron2_onnx", # 佈局檢測模型:yolox, detectron2_onnx
'chunking_strategy' : 'by_title',
# 添加 OCR 支援(如果 PDF 是掃描件)
'ocr_languages' : 'chi_tra',
'languages' : ['chi_tra', 'chi_sim', 'eng'],
# 提取圖片配置
'extract_images_in_pdf' : True,
'extract_image_block_types' : ["Image", "Table"],
# 重要:添加這些參數來改善標題識別
'pdf_infer_table_structure' : True,
'infer_table_structure' : True, # 推斷表格結構
'include_page_breaks' : False,
'include_metadata' : True,
# 調整分塊參數
'max_characters' : 4000,
'new_after_n_chars' : 3800,
'combine_text_under_n_chars' : 500,
#'pdf_image_dpi' : 300
# 其它
#'extract_image_block_to_payload' : False, # 不將圖片存入 payload(節省空間)
}
** file source, from public online , google , just for testing
- Dominant language
- HTML
- Stars
- 15.8k
- Forks
- 1.4k
- Avg merge
- 8d 4h
- Merged PRs (30d)
- 40
Getting set up
- Ships a Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from Unstructured-IO/unstructured
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Unstructured-IO/unstructured#4876 ·
Maintainers usually reply within 6 days
-
bug: partition_email() raises io.UnsupportedOperation on a file-like object that cannot seekPossibly taken @Bensonluo claimed this 5 days ago. Open
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
Unstructured-IO/unstructured#4864 ·
Maintainers usually reply within 6 days
-
fix(nlp): match single-letter bullets in the enumerated bullet patternPossibly taken @Eapp1e claimed this 33 days ago. Open
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Unstructured-IO/unstructured#4635 ·
Maintainers usually reply within 6 days
-
bug(cleaners): translate_text passes text instead of chunk in attention window loopPossibly taken A pull request linked to this issue is open or already merged. Open
Difficulty 1/5 Under an hour Newbie friendliness 82/100
Unstructured-IO/unstructured#4558 · 1 comment ·
Maintainers usually reply within 6 days
-
extract_text_before/extract_text_after raise UnboundLocalError when the pattern is absentPossibly taken @ayam04 claimed this 103 days ago. Open
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Unstructured-IO/unstructured#4427 · 3 comments ·
Maintainers usually reply within 6 days
All issues in Unstructured-IO/unstructured
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
open-mmlab/mmcv#3352 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
Maintainers usually reply within 1 day
-
YOLO loader only handles one image extension: other images are dropped or fail in read_annotationPossibly taken @soujasK claimed this 1 day ago. Open
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
JdeRobot/PerceptionMetrics#700 ·
Maintainers usually reply within 6 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
Efferent-Health/fo-dicom.Codecs#220 · 1 reaction ·
-
getimagesize(): WebP VP8 dimensions are accepted with an invalid start codePossibly taken @lazerg claimed this 1 day ago. OpenBug Status: Needs Triage
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day