LinuxQuestions.org
Visit the LQ Articles and Editorials section
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, 01:51 PM   #1
markush
Senior Member
 
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,971

Rep: Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849
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 01:52 PM. Reason: typo
 
Old 11-10-2012, 09:13 PM   #2
frankbell
Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Mageia, Mint
Posts: 8,085

Rep: Reputation: 1533Reputation: 1533Reputation: 1533Reputation: 1533Reputation: 1533Reputation: 1533Reputation: 1533Reputation: 1533Reputation: 1533Reputation: 1533Reputation: 1533
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, 03:37 AM   #3
markush
Senior Member
 
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,971

Original Poster
Rep: Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849
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, 08:59 PM   #4
frankbell
Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Mageia, Mint
Posts: 8,085

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


Reply

Tags
aspell, dictionary


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 06:17 PM
Better dictionary for gnome-dictionary? General Linux - Software 4 08-21-2006 11:39 PM
Custom ASpell dictionary from mySQL dlublink Linux - Software 0 12-30-2005 12:35 PM
aspell jupiter3437 Linux - Software 1 05-27-2005 11:23 AM
edit words in aspell dictionary legolin Linux - Software 2 10-15-2004 07:22 AM


All times are GMT -5. The time now is 09:27 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration