+2 votos
252 visualizações

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

Publicação antiga - exibida no idioma original
Paratext por (294 pontos)
reexibida | 252 visualizações

1 Resposta

0 votos
Melhor resposta

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?

Publicação antiga - exibida no idioma original
por (1,9k pontos)

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

Publicação antiga - exibida no 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.

Publicação antiga - exibida no idioma original

Perguntas relacionadas

0 votos
1 resposta 347 visualizações
Olá, Comunidade Paratext, Atualmente, estou trabalhando em uma Bíblia de Estudo baseada na ESV Global Study Bible, que ... ou exemplos de um fluxo de trabalho eficiente. Obrigado!
Thiyagarajan 112 perguntada Set 7
0 votos
1 resposta 55 visualizações
Alguém, a quem não tenho acesso no momento, me ajudou a extrair os dados dos nomes do AT do XML de Termos Bíblicos para ... 4.000 vezes. Vocês têm alguma ideia de como fazer isso?
Clear7419 251 perguntada Mai 13, 2025
0 votos
2 respostas 212 visualizações
Fomos procurados por uma comunidade que tem traduzido a Bíblia por conta própria e agora quer ajuda para finalizar o trabalho. ... fez isso antes - que dicas vocês podem nos dar?
anon399461 123 perguntada Nov 8, 2024
0 votos
2 respostas 360 visualizações
É possível importar um texto interlinear do FLEx para o PT9? Obrigado
listentwice 1,2k perguntada Abr 8, 2022
+1 voto
2 respostas 685 visualizações
Fui questionado se havia uma maneira de exportar/convertir um arquivo antigo de referências cruzadas para um formato que possa ser ... :2-3 \xt EXO 20:11\x* Obrigado! james_post
[Moderator]
james_post
2,1k
perguntada Jan 31, 2022
Welcome to Support Bible, where you can ask questions and receive answers from other members of the community.
Every day they continued to meet together in the temple courts. They broke bread in their homes and ate together with glad and sincere hearts, praising God and enjoying the favor of all the people. And the Lord added to their number daily those who were being saved.
Acts 2:46-47
3,052 perguntas
6,011 respostas
5,677 comentários
2,032 usuários