Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't include hyphenated names in Spanish personal word list #3

Open
pauloney opened this issue Apr 24, 2019 · 3 comments
Open

Can't include hyphenated names in Spanish personal word list #3

pauloney opened this issue Apr 24, 2019 · 3 comments

Comments

@pauloney
Copy link

In trying to build a personal word list to use with Spanish I am not able to include any words that have a hyphen, like for example "González-Acuña".

Consider the file:

personal_ws-1.1 es 25 UTF-8
Francisco
Javier
González-Acuña

to be called with the command:

cat t.txt | aspell --add-extra-dicts=proper-names.pws -d es list

it produces the error:

Error: proper-names.pws: The word "González-Acuña" is invalid. The character '-' (U+2D) may not appear in the middle of a word.
@daobrien
Copy link

You need to update the es.dat file to allow dashes in the middle of words. Without checking, something like:
special - -*-
Which means "Allow the special character "dash" to appear in the middle of a word but not at the beginning or end."

@pauloney
Copy link
Author

pauloney commented Apr 26, 2019 via email

@pauloney
Copy link
Author

The incantation that will take care of both problems GNUAspell/aspell#551 and GNUAspell/aspell#552 and I could not find any metioning of it on any documentation is:

special - -*- ' -*-

One question remains: Since both occurrences are common in Spanish, how come this is not standard in the files es.dat?

@kevina kevina transferred this issue from GNUAspell/aspell Oct 7, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants