|
From: | Kevin Atkinson |
Subject: | Re: [Aspell-user] Aspell question? |
Date: | Sun, 30 Dec 2012 22:59:09 -0500 (EST) |
User-agent: | Alpine 2.02 (DEB 1266 2009-07-14) |
First off sorry about the other email, the mailing list software removed the attachments and converted your message to plain text. I got the attachments in the copy you sent direct to me. Notes below.
On Sun, 30 Dec 2012, William H. Magill wrote:
On Dec 30, 2012, at 11:41 AM, Kevin Atkinson <address@hidden> wrote:I'm not sure what the problem is. If you could attach the .aspell.en.pws I might have a better idea.I've done a bit more "research" and have noted the following: 1- if I delete .aspell.en.pws and re-run aspell-import the error message does not appear. Then running "ispell" on the emacs buffer, it appears to work with no issues. The file in question which I am editing is an html file. 2- A) If I then (using emacs) delete the first line and save the file as s.1 B) then sort s.1>s.2C) read s.2 and tack on the original first line from the original file and save it again as .aspell.en.pwsD) the error occurs:Error: /Users/magill/.aspell.en.pws: The word "personal_ws-1.1 en 635 " is invalid. The character '\_' (U+5F) may not appear in the middle of a word. E) the file size is the same in either situation.
Have another look of the file, the line "personal_ws-1.1 en 635 " is also in the middle of the file.
3- During a run of aspell-import, I get a number of errors about /M and similar ispell suffixes.
There are affix flags that the personal dictionary can't handle. Something like this should fix it by expanding the affixes; for example "Absalom/M" will become "Absalom" and "Absalom's":
cat ~/A-ispell_english | aspell --lang=en expand | tr ' ' '\n' \ > A-ispell_english.fixedThe key part is "aspell expand". The "tr" command is used to convert spaces to newlines.
-Kevin
[Prev in Thread] | Current Thread | [Next in Thread] |