LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-07-2015, 02:08 PM   #16
RandomTroll
Senior Member
 
Registered: Mar 2010
Distribution: Slackware
Posts: 1,333

Original Poster
Rep: Reputation: 224Reputation: 224Reputation: 224

Quote:
Originally Posted by DavidMcCann View Post
I'd switch to hunspell.
ispell works better than hunspell: hunspell doesn't recognize contractions, such as j'ai.
 
Old 01-07-2015, 02:29 PM   #17
jdkaye
LQ Guru
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,465

Rep: Reputation: Disabled
I cannot replicate your situation. Note there is no error indicated for "J'ai" and "C'est" but the misspelled "soux" is underlined in red as you would expect.
jdk
Attached Thumbnails
Click image for larger version

Name:	fr-spell-checker.png
Views:	14
Size:	82.1 KB
ID:	17307  
 
Old 01-07-2015, 06:30 PM   #18
RandomTroll
Senior Member
 
Registered: Mar 2010
Distribution: Slackware
Posts: 1,333

Original Poster
Rep: Reputation: 224Reputation: 224Reputation: 224
Quote:
Originally Posted by jdkaye View Post
I cannot replicate your situation. Note there is no error indicated for "J'ai" and "C'est" but the misspelled "soux" is underlined in red as you would expect.
jdk
I had a different experience than you. hunspell rejected every word that included a contraction, treating the 2 parts as separate words. Have you used hunspell in French and added these to your personal dictionary? This was the first time I used it; I downloaded Slackware's current package. If you use a different distribution you may have a better dictionary.

Which editor did you use? I applied both to a discrete file (not invoked them inside an editor) in iso-8859-1 (not graphics), which uses the same character for apostrophe and single quote. If you're using an editor sophisticated enough to have separate characters for those maybe that's the problem, though hunspell's dictionary is in iso-8859-15, which doesn't; that would seem to rule out that hypothesis.

Can you display oe ligature correctly?
 
Old 01-08-2015, 01:59 AM   #19
jdkaye
LQ Guru
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,465

Rep: Reputation: Disabled
All the character encoding I use (knowingly at least) are utf-8. The screenshot was taken of Libreoffice which is the word processor I use. The editor I use is kate which also has a spell checker. Here are some details:
Quote:
Spell Checker
The configuration options available here are used as default by all KDE applications that use Sonnet, which is a frontend to various free spell checkers.
To use Sonnet you need to install spell checkers like e.g. GNU Aspell, Enchant, Hspell, ISpell or Hunspell and additionally the corresponding dictionaries for your language.
The configuration options selected here can be overridden by each application.
In the drop down box Default language choose from the available dictionaries, which one to use for Sonnet.
Quote:
Can you display oe ligature correctly?
You mean this one? œ
jdk
 
Old 01-09-2015, 01:17 AM   #20
RandomTroll
Senior Member
 
Registered: Mar 2010
Distribution: Slackware
Posts: 1,333

Original Poster
Rep: Reputation: 224Reputation: 224Reputation: 224
Quote:
Originally Posted by jdkaye View Post
All the character encoding I use (knowingly at least) are utf-8.
I use iso-8859, currently -1 but I may switch to -15 to get the euro and oe ligature. I write in non-graphical environments with emacs. hunspell's dictionary is in iso-8859-15, not utf, at least the one in Slackware's package.


Quote:
Originally Posted by jdkaye View Post
The screenshot was taken of Libreoffice
A graphical environment. Do you use a different key for apostrophe and single quote?

Quote:
Originally Posted by jdkaye View Post
You mean this one? œ
Yes. Thanks.
 
Old 01-10-2015, 12:53 AM   #21
jdkaye
LQ Guru
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,465

Rep: Reputation: Disabled
1. I assume you have downloaded the Libreoffice tarball libreoffice-dictionaries-4.3.5.2.tar.gz This contains the source code for compiling dictionaries (including affixes) from many different languages.
2.
Quote:
A graphical environment. Do you use a different key for apostrophe and single quote?
I could but I don't. ´This´ is the one you're talking about, correct?
3.
Quote:
I write in non-graphical environments
Can you explain ´non-graphical environments´. Do you mean in a terminal? Or are you talking about a tty? (ctl-alt-F1,...)
4. Here is the output to the locale command:
Code:
~$ locale
LANG=en_GB.UTF-8
LANGUAGE=en_GB:en
LC_CTYPE="en_GB.UTF-8"
LC_NUMERIC="en_GB.UTF-8"
LC_TIME="en_GB.UTF-8"
LC_COLLATE="en_GB.UTF-8"
LC_MONETARY="en_GB.UTF-8"
LC_MESSAGES="en_GB.UTF-8"
LC_PAPER="en_GB.UTF-8"
LC_NAME="en_GB.UTF-8"
LC_ADDRESS="en_GB.UTF-8"
LC_TELEPHONE="en_GB.UTF-8"
LC_MEASUREMENT="en_GB.UTF-8"
LC_IDENTIFICATION="en_GB.UTF-8"
LC_ALL=
What does yours look like?
jdk

Last edited by jdkaye; 01-10-2015 at 12:56 AM.
 
Old 01-11-2015, 04:18 AM   #22
RandomTroll
Senior Member
 
Registered: Mar 2010
Distribution: Slackware
Posts: 1,333

Original Poster
Rep: Reputation: 224Reputation: 224Reputation: 224
Quote:
Originally Posted by jdkaye View Post
1. I assume you have downloaded the Libreoffice tarball libreoffice-dictionaries-4.3.5.2.tar.gz
No. I use OpenOffice. I tried using its dictionaries and affix files with ispell, to no avail.

Quote:
Originally Posted by jdkaye View Post
I could but I don't. ´This´ is the one you're talking about, correct?
It looks like it is. I know that larger character sets have separate characters for apostrophe and single quote, that if a program wants to distinguish between the two it can accept j'ai but reject j´ai.

Quote:
Originally Posted by jdkaye View Post
3.Can you explain ´non-graphical environments´. Do you mean in a terminal? Or are you talking about a tty? (ctl-alt-F1,...)
Environments in which the OS and programs emit only characters into cells, in which the screen is defined as cells. For linux that pretty much means non-X. X has terminals. I get to them with ctl-alt-f[1-10], but I get to X with ctl-alt-f11.

Quote:
Originally Posted by jdkaye View Post
4. Here is the output to the locale command:...
What does yours look like?
jdk

Quote:
LANG=en_US
LC_CTYPE="en_US"
LC_NUMERIC="en_US"
LC_TIME="en_US"
LC_COLLATE=C
LC_MONETARY="en_US"
LC_MESSAGES="en_US"
LC_PAPER="en_US"
LC_NAME="en_US"
LC_ADDRESS="en_US"
LC_TELEPHONE="en_US"
LC_MEASUREMENT="en_US"
LC_IDENTIFICATION="en_US"
LC_ALL=
In a separate thread M. Didier Spaier told me he uses aspell for French spell-checking. I found its foreign language dictionaries in Slackware's extras. It worked perfectly, so I'm not interested in this problem anymore. I appreciate your help. Thanks.
 
  


Reply


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
[SOLVED] French Dictionary for aspell edorig Slackware 2 08-31-2013 04:32 AM
Howto properly install dictionary for ispell/kde? intens Slackware 1 05-21-2007 05:34 PM
How do I remove words from ispell dictionary.hash? geokker Linux - Software 1 04-20-2006 05:55 AM
ispell - remove word from dictionary? TangentSpace Linux - Software 0 10-19-2005 04:04 PM
Looking for a good English/French dictionary in Linux njschroe Linux - Software 2 04-10-2005 10:53 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:17 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration