+2 votos
248 vistas

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

Publicación antigua - se muestra en su idioma original
Paratext por (294 puntos)
mostrada de nuevo | 248 vistas

1 Respuesta

0 votos
Mejor respuesta

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?

Publicación antigua - se muestra en su idioma original
por (1,9k puntos)

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

Publicación antigua - se muestra en su idioma original

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.

Publicación antigua - se muestra en su idioma original

Preguntas relacionadas

0 votos
1 respuesta 347 vistas
Hola, comunidad de Paratext, Actualmente estoy trabajando en una Biblia de estudio basada en la ESV Global Study Bible, ... o ejemplos de un flujo de trabajo eficiente. Gracias!
Thiyagarajan 112 preguntada sep 7
0 votos
1 respuesta 55 vistas
Alguien, a quien actualmente no tengo acceso, me ayudó a extraer los datos de nombres del AT desde el XML de términos ... de 4000 veces. Tienen alguna idea sobre cómo hacer esto?
Clear7419 251 preguntada may 13, 2025
0 votos
2 respuestas 212 vistas
Se nos ha acercado una comunidad que ha estado traduciendo la Biblia por su cuenta y ahora quiere ayuda para terminarla. ... ahí lo ha hecho antes: qué consejos pueden darnos?
anon399461 123 preguntada nov 8, 2024
0 votos
2 respuestas 360 vistas
¿Es posible importar un texto interlineal de FLEx a PT9? Gracias
listentwice 1,2k preguntada abr 8, 2022
+1 voto
2 respuestas 685 vistas
Me preguntaron si había una forma de exportar/convertir un archivo antiguo de referencias cruzadas a un formato que pueda ser ... 2-3 \xt EXO 20:11\x* Gracias! james_post
[Moderator]
james_post
2,1k
preguntada ene 31, 2022
Welcome to Support Bible, where you can ask questions and receive answers from other members of the community.
How good and pleasant it is when God’s people live together in unity!
Psalm 133:1
3,052 preguntas
6,011 respuestas
5,677 comentarios
2,032 usuarios