🧾 Extract Structured Transition Triplets from DOCX Files

250
ETH, DAI, USDT
+55
0 days (till Jun 13th, 2025)

We are hiring a developer to build a Streamlit application that extracts structured examples of transition phrases from .docx documents containing regional French news articles. These transitions are short, context-appropriate phrases that connect ideas between paragraphs. The goal is to automatically extract them along with their surrounding context and format them as clean, structured datasets for downstream analysis and AI fine-tuning.

Each article follows a consistent and predictable structure:

A header line (number and date)

Title and a short blurb

A marker line: "À savoir également dans votre département"

One long narrative paragraph containing embedded transitions

A final list of 2–3 transitions used within that paragraph

Your task is to focus only on the long narrative paragraph (step 4) and extract 2–3 clean triplets formatted as:

paragraph_a (text before the transition)

transition (the phrase as it appears in the list)

paragraph_b (text following the transition)

This structure will be used to build:

fewshot_examples.json (with paragraph_a, transition, paragraph_b objects, capped at 3 uses per transition)

transitions_only.txt (unique transitions only)

fewshot_examples.jsonl (fine-tuning format with role:user, role:assistant style entries)

and additional .txt files that list duplicates beyond the usage cap

The app must allow:

Upload of a .docx file

Selection of which outputs to generate (not all at once)

Local saving of the output files

Display of how many valid examples were extracted

To guide your implementation, you are provided with two reference files:

word10.docx: a sample input with ~10 articles and 24 expected examples

ccm_raw_paragraphs_dump.txt: a structured version of the same document, where every paragraph is numbered. This helps clarify how the transitions in paragraphs 7–10 relate to the narrative block in paragraph 6, then 17–20 to 16, and so on. This pattern remains consistent across all documents in the project.

Application Requirements:
To be considered for this job, please submit the following:

A working Streamlit demo (link or .py file)

At least 20 extracted examples from word10.docx showing clean paragraph-transition-paragraph triplets

A clear UI that allows output selection

Confirmation that outputs are saved locally as described

This project is the foundation for a much larger AI-based system we are developing for editorial automation. A successful result here could lead to multiple follow-on projects.

A full job description with more detailed formatting rules and two example outputs (from paragraph 6 and 16) is included in the attached PDF: this document outlines exactly what is expected in terms of logic, layout, and transition matching.

We look forward to reviewing your application.

250
ETH, DAI, USDT
+55
0 days (till Jun 13th, 2025)

More Jobs from this customer

Python Developer – Transition Repetition Analysis Module

Milestone 1 – Linguistic QA Validator (French Transition Rules) 🎯 Objective Develop a Python module to validate batches of AI-generated French transition phrases. This module ensures: 1. No stylistically significant word repetition across transitions in...

Python Developer – Transition Repetition Analysis Module

Milestone 1 – Linguistic QA Validator (French Transition Rules) 🎯 Objective Develop a Python module to validate batches of AI-generated French transition phrases. This module ensures: 1. No stylistically significant word repetition across transitions in...

More Jobs like this

Show more
translation

As a document retyping specialist, you'll work on accurately re-creating documents for our clients.   Requirements: - Fast and accurate typing skills - Attention to detail - Ability to meet deadlines If you're interested, please...

Upwork, freelancer seller is here. https://t.me/Nadir53454

Upwork, freelancer seller is here. https://t.me/Nadir53454

Full Automation Tool Request

🎯 Purpose To develop a local automation application that registers specified phone numbers on a list of websites, where completion is defined as receiving the SMS verification message. 🔧 Feature Requirements Automated SMS Verification Registration...

I need to sell freelancer accounts. t.me/Nadir53454

I need to sell freelancer accounts. https://t.me/Nadir53454

WFH Data Contributors

Work Location: Remote/Work-from-home within the United States Engagement Model: Independent Contractor / Freelance Estimated Start Date: June 2025 Estimated Project Duration: 6 weeks Hourly Throughput: 30 screenshots Preferred availability: Minimum 10 hours per week Languages...

Develop an adroid App in Firebase Studio

For now the payment consists of small task packs worth $5 ETH each, and the payment will be by MetaMask Requirements: Dart Contact me on Telegram: t.me/LesterRF Please send me this emoji: 👨‍💻

Need Vietnamese Speaker to Make Local Phone Calls in Vietnam

I'm looking for a Vietnam-based person who speaks fluent Vietnamese and can make local phone calls within Vietnam. Your task will be to: Call specific organizations or companies (list provided), Politely deliver useful information to...

transitions job

We are seeking a talented individual to join our team as a Transitions Job. This position requires strong writing and translation skills, particularly in Portuguese, Spanish, and Hindi. The ideal candidate will have a passion...

English to Italian Document Translation

We are looking for a highly skilled translator to help us convert two documents from English to Italian. The ideal candidate will have strong proficiency in both languages, along with experience translating formal and professional...

Translate From English to Cantonese/Chinese

We are seeking a skilled and detail-oriented Cantonese Translator to join our team. The ideal candidate will be responsible for translating written documents from English to Cantonese with high accuracy, maintaining the original meaning, tone,...

translation

As a document retyping specialist, you'll work on accurately re-creating documents for our clients.   Requirements: - Fast and accurate typing skills - Attention to detail - Ability to meet deadlines If you're interested, please...

Upwork, freelancer seller is here. https://t.me/Nadir53454

Upwork, freelancer seller is here. https://t.me/Nadir53454

Full Automation Tool Request

🎯 Purpose To develop a local automation application that registers specified phone numbers on a list of websites, where completion is defined as receiving the SMS verification message. 🔧 Feature Requirements Automated SMS Verification Registration...

I need to sell freelancer accounts. t.me/Nadir53454

I need to sell freelancer accounts. https://t.me/Nadir53454

WFH Data Contributors

Work Location: Remote/Work-from-home within the United States Engagement Model: Independent Contractor / Freelance Estimated Start Date: June 2025 Estimated Project Duration: 6 weeks Hourly Throughput: 30 screenshots Preferred availability: Minimum 10 hours per week Languages...

Develop an adroid App in Firebase Studio

For now the payment consists of small task packs worth $5 ETH each, and the payment will be by MetaMask Requirements: Dart Contact me on Telegram: t.me/LesterRF Please send me this emoji: 👨‍💻

Need Vietnamese Speaker to Make Local Phone Calls in Vietnam

I'm looking for a Vietnam-based person who speaks fluent Vietnamese and can make local phone calls within Vietnam. Your task will be to: Call specific organizations or companies (list provided), Politely deliver useful information to...

transitions job

We are seeking a talented individual to join our team as a Transitions Job. This position requires strong writing and translation skills, particularly in Portuguese, Spanish, and Hindi. The ideal candidate will have a passion...

English to Italian Document Translation

We are looking for a highly skilled translator to help us convert two documents from English to Italian. The ideal candidate will have strong proficiency in both languages, along with experience translating formal and professional...

Translate From English to Cantonese/Chinese

We are seeking a skilled and detail-oriented Cantonese Translator to join our team. The ideal candidate will be responsible for translating written documents from English to Cantonese with high accuracy, maintaining the original meaning, tone,...