eliot-general
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Eliot-general] error message in compdic - scrabble for bambara / ba


From: Joan Montané
Subject: Re: [Eliot-general] error message in compdic - scrabble for bambara / bamana
Date: Tue, 24 Sep 2013 23:02:42 +0200

Hi,

I'm not Eliot developer, but years ago I deal with some encoding problems. Some tips:

mots.txt must contain a single word by line, utf8 encoded.
All chars in mots.txt must be "playable", i.e., a tile/char must be defined in lettres.txt

May be the error refeers to mots.txt file, can you write the 5th line of mots.txt?

Yours,
Joan Montané
Catalan Scrabble Player



2013/9/24 jjmeric <address@hidden>
(in French further down) - en français plus bas
Bambara (or bamanakan) is a language of West Africa.
I'd love to promote the use of this scrabble game.
This language has an alphabet that include 4 characters which require Unicode UTF-8 encoding.

I stumble across an error message when trying to load the letters file "lettres.txt" in compdic :

compdic -d "Nom du dictionnaire" -i mots.txt -l lettres.txt -o bamanakan.dawg
Exception caught: Erreur sur la ligne 5, colonne 7: Header::getCodeFromChar : Pas de code pour la lettre ' ' (val=32)

Here is the start of the list in the UTF-8 encoded text file :
a  1 15 1 0
b  1  5 0 1
c  8  1 0 1
d  3  2 0 1
e  1  6 1 0
ɛ  1  6 1 0

not sure the problem is on the "ɛ" character (line 6 to me).
Thanks for help. I can of course send the file(s) if required.

I ni ce, i ni baraji (in bambara)
---
French :
Le bambara (bamanakan) est une langue d'Afrique de l'Ouest (Mali, Côte d'Ivoire, Burkina-Faso, Guinée, est du Sénégal).
J'aimerais bien promouvoir l'utilisation du jeu de scrabble (à des fins éducatives).
Dans l'alphabet du bambara, 4 lettres spéciales qui nécessitent l'utilisation d'un codage Unicode UTF-8.

J'ai un message d'erreur à ma première utilisation de compdic, à propos de mon fichier lettres.txt :

compdic -d "Nom du dictionnaire" -i mots.txt -l lettres.txt -o bamanakan.dawg
Exception caught: Erreur sur la ligne 5, colonne 7: Header::getCodeFromChar : Pas de code pour la lettre ' ' (val=32)

Voilà le début du fichier (encodé UTF-8) :
a  1 15 1 0
b  1  5 0 1
c  8  1 0 1
d  3  2 0 1
e  1  6 1 0
ɛ  1  6 1 0

Je ne suis pas sûr que le problème vienne bien de la lettre "ɛ" character (ligne 6 selon moi!).

Merci pour votre aide !
I ni ce, i ni baraji (en bambara)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]