+2 votes
249 vues

Hi,
We have a hunspell-based spell-checking dictionary. Other than
trying to programatically generate a humongous word-list to cover every possible combination of root+affix (+affix) that it allows, is there any way of getting Paratext to use it?

anon542642

Ancienne publication - affichée dans sa langue d'origine
Paratext par (294 points)
réaffiché | 249 vues

1 Réponse

0 votes
Meilleure réponse

I don’t remember how I did it… I could try to look up notes if needed… but I expanded a hunspell dictionary into a PT wordlist using some pre-existing program for creating all possible combinations. The resulting file was large, but works perfectly fine. Is there a reason you want to use the dictionary directly instead of going that route?

Ancienne publication - affichée dans sa langue d'origine
par (1,9k points)

mnjames
February 14

I don’t remember how I did it… I could try to look up notes if needed… but I
expanded a hunspell dictionary into a PT wordlist using some pre-existing
program for creating all possible combinations. The resulting file was large,
but works perfectly fine.

Practically speaking, the resultant list will be getting very large - every
verb potentially turns into multiple participles, and every participle can act
as a nominal and each then end up in sg/plural versions in nominative,
oblique(accusative), locative, dative, ablative, genitive (aggreeing with
gender and number of the posessed item) cases and that doesn’t add up to the
right number so I’ve forgotten some.

Is there a reason you want to use the dictionary
directly instead of going that route?

Ideally, yes:
The dictionary is still being worked on, and sometimes errors are
spotted, or decisions about spelling get revisited, especially for
loan words where there are several options about which noun class
they might go in: that’s a language-community-preference thing
that might develop over time.

Ideally I’d hope there could be a way for paratext’s current version
of manually checked words (e.g. for names of one-off towns, ancient kings,
etc) to sit beside the hunspell dict.

I’ve never looked at the ParaText code, but I’d assume there would be benefits
in using the Enchant library (https://abiword.github.io/enchant/),
as that’s backend-agnostic.

anon542642

Ancienne publication - affichée dans sa langue d'origine

There is the laboursome possibility to do spellchecking in Indesign, (which supports hunspell). It means exporting via PubAssist into Indesign, and then do a round-trip back to sfm files.

Ancienne publication - affichée dans sa langue d'origine

Questions connexes

0 votes
1 réponse 347 vues
Bonjour à la communauté Paratext, Je travaille actuellement sur une Bible d'étude basée sur la ESV Global Study ... ou exemples de flux de travail efficaces. Merci !
Thiyagarajan 112 posée sept. 7
0 votes
1 réponse 55 vues
Une personne, à qui je n'ai actuellement pas accès, m'a aidé à extraire les données des noms de l'Ancien Testament du ... 000 fois. Avez-vous des idées sur la façon de procéder ?
Clear7419 251 posée mai 13, 2025
0 votes
2 réponses 212 vues
Une communauté nous a contactés. Elle a traduit la Bible elle-même et souhaite désormais de l'aide pour finaliser le ... par le passé - quels conseils pouvez-vous nous donner ?
anon399461 123 posée nov. 8, 2024
0 votes
2 réponses 360 vues
Est-il possible d'importer un texte interlinéaire depuis FLEx dans PT9 ? Merci
listentwice 1,2k posée avr. 8, 2022
+1 vote
2 réponses 685 vues
On m'a demandé s'il existait un moyen d'exporter/convertir un ancien fichier de références croisées dans un format utilisable par ... 2:2-3 \xt EXO 20:11\x* Merci ! james_post
[Moderator]
james_post
2,1k
posée janv. 31, 2022
Welcome to Support Bible, where you can ask questions and receive answers from other members of the community.
Just as a body, though one, has many parts, but all its many parts form one body, so it is with Christ.
1 Corinthians 12:12
3,052 questions
6,011 réponses
5,677 commentaires
2,032 utilisateurs