```python from langchain.document_loaders import UnstructuredPDFLoader loader = UnstructuredPDFLoader("example_data/layout-parser-paper.pdf") data = loader.load() output_file = "extracted_text.txt" # Faylni yozish rejimida oching va chiqarib olingan matnni unga open(output_file, "w") bilan fayl sifatida yozing: file.write(data["text"]) ``` Eslatma: Agar siz matnni faylga qo'shishni istasangiz, uni almashtirib yozish o'rniga `"w" harfini `"a"` harfasiga o'zgartiring.
spam fails_task lang_mismatch pii not_appropriate hate_speech sexual_content quality toxicity humor helpfulness creativity violence