Emmanuel Cosquin's Lorraine folk tales (French regional folklore) provider skill for ovos-common-reading-pipeline-plugin
Project description
Cosquin Tales (provider)
A provider skill for ovos-common-reading-pipeline-plugin, delivering Emmanuel Cosquin's collection of Lorraine (French regional) folk tales.
A genuinely different register than ovos-skill-perrault-tales-style
literary fairy tales: these are folk-collected, with the collector's own
comparative scholarly notes ("Remarques") on how each tale relates to
variants told elsewhere in France and abroad (excluded from what's read
aloud - see below).
This skill has no standalone voice interface. It registers no intents and never speaks. It only answers ovos.common_reading.* bus messages, so you also need ovos-common-reading-pipeline-plugin installed and added to your pipeline config for it to be useful at all.
French only, no translation. Same situation as
ovos-skill-andrew-lang-tales/ovos-skill-bechstein-tales, just for French. On any device language other than French, this provider never loads at all:initialize()checks the device's language againstSUPPORTED_LANGUAGES = {"fr"}before loading the index or registering any bus events, logging why. Set your OVOS device's language to French (fr-*) to use this provider.
Install
pip install ovos-skill-cosquin-tales ovos-common-reading-pipeline-plugin
Story index
The story index (title, anchor per story) is bundled with this
package (locale/fr-fr/index.json), not scraped live - browsing/
matching needs no internet at all. Only fetching a specific story's
actual text (once chosen) needs a live request to Project Gutenberg.
30 stories from volume 1 of Cosquin's "Contes populaires de
Lorraine" (Project Gutenberg ebook #57892). The index was built via
scripts/build_index.py, which scans for <h2 id="ROMAN_NUMERAL">
headings (the book's own per-story anchoring) and excludes non-story
sections (front matter, appendices) by requiring the id to actually look
like a Roman numeral.
Known gap: volume 2 not included. Volume 2 (ebook #50838) uses a
different, page-number-based anchor scheme (<a id="Page_N"> nested
inside an unlabelled <h2>, rather than the h2 itself carrying a
roman-numeral id) - the same class of problem that excluded the Olive
Fairy Book from ovos-skill-andrew-lang-tales. Not handled yet; a
follow-up could add volume 2's ~30 additional stories with a second
anchor-extraction path.
Story extraction stops each tale at the following <h3>REMARQUES</h3> -
the scholarly comparative commentary that follows every story here is
deliberately excluded from what gets read aloud, not just the next
story's heading.
Collection hints
Responds to collection_hint values like "cosquin", "lorraine",
"lorraine tales", "contes de lorraine", "emmanuel cosquin", matched
fuzzily (see COLLECTION_ALIASES in __init__.py).
Content type
Identifies as content_type: "story" or "tale". A search with a
content_type hint for anything else gets no response from this
provider.
Credits
Content sourced from Project Gutenberg. Scraping/extraction/caching logic ported from ovos-skill-andrew-lang-tales and ovos-skill-bechstein-tales.
Category
Entertainment
Tags
#stories #fairytales #folklore #cosquin #lorraine #french #provider
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ovos_skill_cosquin_tales-0.1.0.tar.gz.
File metadata
- Download URL: ovos_skill_cosquin_tales-0.1.0.tar.gz
- Upload date:
- Size: 22.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bfbe89eba785dc07da185bdf8001aa18861f8241df926b4d01e7f54ec8d554b6
|
|
| MD5 |
ed093d0a01c7fc6ad41f2b10f72b98c4
|
|
| BLAKE2b-256 |
0253cfa0a473db44d9553ae105aca1a15bd572602d47db819128e3eea0cc02a1
|
Provenance
The following attestation bundles were made for ovos_skill_cosquin_tales-0.1.0.tar.gz:
Publisher:
publish.yml on andlo/ovos-skill-cosquin-tales
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
ovos_skill_cosquin_tales-0.1.0.tar.gz -
Subject digest:
bfbe89eba785dc07da185bdf8001aa18861f8241df926b4d01e7f54ec8d554b6 - Sigstore transparency entry: 2214999274
- Sigstore integration time:
-
Permalink:
andlo/ovos-skill-cosquin-tales@8ae28f9918790e08c4cf7d0cc2dfd3b83d407963 -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/andlo
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@8ae28f9918790e08c4cf7d0cc2dfd3b83d407963 -
Trigger Event:
push
-
Statement type:
File details
Details for the file ovos_skill_cosquin_tales-0.1.0-py3-none-any.whl.
File metadata
- Download URL: ovos_skill_cosquin_tales-0.1.0-py3-none-any.whl
- Upload date:
- Size: 20.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bf798c41e83ebba7ee43fac93d4b01c95499efcb89432751b5b6975de7d56ad5
|
|
| MD5 |
80c82fce9d4c817a50cd5a8bee274773
|
|
| BLAKE2b-256 |
4965885170f3137c45baf22a649a13682fdfe7d03ea28c0c57909bc478c0549f
|
Provenance
The following attestation bundles were made for ovos_skill_cosquin_tales-0.1.0-py3-none-any.whl:
Publisher:
publish.yml on andlo/ovos-skill-cosquin-tales
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
ovos_skill_cosquin_tales-0.1.0-py3-none-any.whl -
Subject digest:
bf798c41e83ebba7ee43fac93d4b01c95499efcb89432751b5b6975de7d56ad5 - Sigstore transparency entry: 2214999299
- Sigstore integration time:
-
Permalink:
andlo/ovos-skill-cosquin-tales@8ae28f9918790e08c4cf7d0cc2dfd3b83d407963 -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/andlo
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@8ae28f9918790e08c4cf7d0cc2dfd3b83d407963 -
Trigger Event:
push
-
Statement type: