{
 "schema_version": 1,
 "generated": "2026-10-23",
 "id": "ssaaffaakk-lilly--translate-bosnian-document",
 "repo": "ssaaffaakk/Lilly",
 "repo_url": "https://github.com/ssaaffaakk/Lilly",
 "repo_slug": "ssaaffaakk-lilly",
 "title": "Translate a Bosnian .docx or PDF file to English",
 "page_title": "How to translate a Bosnian .docx or PDF file to English with Lilly",
 "summary": "Upload a Word or PDF file and get its text translated sentence by sentence.",
 "who": "A researcher or office worker who received a Bosnian report, form, or letter and needs the English content.",
 "problem": "Copying a long document into a translator loses layout and takes time, and Bosnian documents are hard to follow without help.",
 "outcome": "The text of the uploaded document, translated through the same sentence path as typed text.",
 "steps": [
  "Create the environment: `uv venv .venv --python 3.12`",
  "Install the dependencies: `uv pip install --python .venv/bin/python -r requirements.txt`",
  "Fetch the models: `.venv/bin/python scripts/fetch_models.py`",
  "Start the server: `.venv/bin/uvicorn app.server:app --port 8000`",
  "Open http://localhost:8000, choose the document panel, and upload your .docx or .pdf file"
 ],
 "agent_prompt": "In the repo ssaaffaakk/Lilly, set up the app with the README steps, then send the file <document path> to POST /api/document. Expected output: the extracted and translated text. Verify that the number of translated sentences is close to the number of sentences in the source file.",
 "agents": [
  "any"
 ],
 "difficulty": "Intermediate",
 "time": "60 minutes",
 "basis": "readme",
 "caveat": "The README lists .docx and .pdf upload as a feature but does not give measured results for document extraction, so check the output against the original.",
 "category": "Work and operations",
 "tags": [
  "Work and operations"
 ],
 "lang": "python",
 "requirements": [
  "Python 3.12 and uv for the local install, or a browser for the live demo",
  "Internet access for the first model fetch; the README says nothing reaches the network after fetch_models.py finishes",
  "Optional: a microphone for speech and a camera for photographs"
 ],
 "risk": "none",
 "seen_in_the_wild": false,
 "mentioned_publicly": false,
 "risks": [],
 "best": false,
 "score": 0.8,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/ssaaffaakk-lilly/translate-bosnian-document/",
 "md": "https://dedupedai.com/use-cases/ssaaffaakk-lilly/translate-bosnian-document/index.md",
 "disclaimer": "Deduped lists open-source repositories that belong to other people. We do not own, maintain, audit, or vouch for any of them, and a repo appearing here is not an endorsement or a safety check. The use cases, steps, and prompts are written by AI and may be incomplete, outdated, or just wrong. Where a use case is marked \"Seen in the wild\", we link to public posts where someone described something similar, but we have not verified those posts and the use case itself is still our AI's own write-up. Use all of this at your own risk. Only run code, commands, or agents on systems and accounts you are authorized to use, and read the code and every command before you run it, especially anything that touches credentials, files, or the network. Nothing here is professional, security, legal, or financial advice. All trademarks and project names belong to their respective owners, and their use here does not imply affiliation. Content is provided as is, without warranties of any kind. Found a mistake, a safety problem, or something you want removed? Email hello@dedupedai.com and we will look at it promptly.",
 "api": "https://dedupedai.com/api/v1/usecases/ssaaffaakk-lilly--translate-bosnian-document.json",
 "api_version": "v1"
}
