LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 11-09-2012, 12:51 PM   #1
markush
Senior Member
 
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,979

Rep: Reputation: Disabled
aspell with more than one dictionary


Hello,

I want to check spelling of a text with german and english words, referring to the manpage of aspell it should be possible to use aspell with more than one dictionary, but I cannot find out the correct syntax.
Code:
aspell --add-extra-dicts=en --extra-dicts=en --mode=html  check mytextfile.txt 
Error: Expected language "de" but got "en".
exits with error.

Does anyone know if this is really possible? and if yes, how can I do it, the appropriate dictionaries are installed.
Code:
aspell dump dicts
de
de_AT
de_CH
de_DE
en
en-variant_0
en-variant_1
en-variant_2
en-w_accents
en-wo_accents
en_CA
en_CA-w_accents
en_CA-wo_accents
en_GB
en_GB-ise
en_GB-ise-w_accents
en_GB-ise-wo_accents
en_GB-ize
en_GB-ize-w_accents
en_GB-ize-wo_accents
en_GB-w_accents
en_GB-wo_accents
en_US
en_US-w_accents
en_US-wo_accents
Thanks in advance

Markus

Last edited by markush; 11-09-2012 at 12:52 PM. Reason: typo
 
Old 11-10-2012, 08:13 PM   #2
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,323
Blog Entries: 28

Rep: Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142
I have never tried it, but I think this section of the aspell docs might help.

http://aspell.net/man-html/Working-W...h-Dictionaries

The on-line docs seem to go into much greater detail than the man page.
 
1 members found this post helpful.
Old 11-11-2012, 02:37 AM   #3
markush
Senior Member
 
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,979

Original Poster
Rep: Reputation: Disabled
Hi frankbell,

thanks for the answer.

I had already found additional information in the internet, also the texinfo file for aspell is very explanatory. It seems I'll have to read much more about this program.

Markus
 
Old 11-11-2012, 07:59 PM   #4
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,323
Blog Entries: 28

Rep: Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142
You are most welcome. Good luck.
 
  


Reply

Tags
aspell, dictionary



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Suggest a good offline dictionary-database for gnome-dictionary. abhijeetnayak Linux - Software 1 07-05-2009 05:17 PM
Better dictionary for gnome-dictionary? General Linux - Software 4 08-21-2006 10:39 PM
Custom ASpell dictionary from mySQL dlublink Linux - Software 0 12-30-2005 11:35 AM
aspell jupiter3437 Linux - Software 1 05-27-2005 10:23 AM
edit words in aspell dictionary legolin Linux - Software 2 10-15-2004 06:22 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 02:39 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration