Closed Bug 359709 Opened 19 years ago Closed 19 years ago

We should implement automatic language recognition features

Categories

(Core :: DOM: Editor, enhancement)

enhancement
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 338427

People

(Reporter: mva.led, Unassigned)

Details

User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1) Gecko/20060601 Firefox/2.0 (Ubuntu-edgy) Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1) Gecko/20060601 Firefox/2.0 (Ubuntu-edgy) We should implement automatic language recognition features. This along with spell checking would improve user experience. Reproducible: Always Steps to Reproduce: N/A
*** This bug has been marked as a duplicate of 338427 ***
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Resolution: --- → DUPLICATE
I had something else in mind when I issued this bug, not exactly what is been discused in bug 338427. We could write code to automatically detect the language. I mean, in the absence of lang and xml:lang attributes - no other information is used besides the text itself. There are several techniques that can be used - a simple one: count the letters frequencies in the text. There are lots of paper on this topic. You can search Google Scholar for "Automatic Language Detection" and see our options. his feature can be used in Composer alone. Composer can automatically (with the user's consent) add the lang or xml:lang attributes as appropriated. This is why this bug is about Editor and not about Firefox. Should we reopen this bug?
You need to log in before you can comment on or make changes to this bug.