I was thinking about automatic language detection. If mailing
list traffic was predominantly Icelandic, I would like to automaticly
ask MHonArc switch over to a resource file localized for Icelandic.

Being completely naive, I pulled up a few non-English emails and
looked for some line in the headers that identified the language. How
incredibly depressing. The only relevant headers I found were the
character set, which appears common for dozens of langages. The only
other header clue was the domain of the list server, which is hardly a
sure thing, given the pervasiveness of both the English language and
the .com domain name. What do people do for automatic language
detection for email? Are they stuck with scanning the body for common
dictionary words?  Bleah!!

So the question is:

 a) Am I missing something obvious

 b) Are there any languages that are easily detected
    (perhaps by a unqiue character set?) If so, are 
    those languages supported by MHonArc? Oh, and what
    are they? <grin>

I guess I'll have to scuttle the whole thing; if so that's too bad,
since I really think it would be great to automatically customize
to a particular language.

Jeff

PS Typical non-English language email headers appended.

--------------------

Return-Path: [EMAIL PROTECTED]
Delivery-Date: Tue May 25 07:50:36 1999
Return-Path: <[EMAIL PROTECTED]>
Received: from jab.org (u251.varesearch.com [209.81.8.251])
        by marmot.jab.org (8.8.7/8.8.7) with ESMTP id HAA28750
        for <[EMAIL PROTECTED]>; Tue, 25 May 1999 07:50:35 -0700
Received: from mars.mmedia.is (mars.mmedia.is [193.4.192.20])
        by jab.org (8.8.7/8.8.7) with ESMTP id KAA16373
        for <[email protected]>; Tue, 25 May 1999 10:48:37 -0400
Received: (from mail@localhost)
        by mars.mmedia.is (8.9.0/8.9.0-MMEDIA) id AAA03873
        for kde-isl-list; Tue, 25 May 1999 00:23:36 GMT
Received: from mailer.isholf.is (pop.isholf.is [194.105.226.2])
        by mars.mmedia.is (8.9.0/8.9.0-MMEDIA) with ESMTP id AAA03857
        for <[EMAIL PROTECTED]>; Tue, 25 May 1999 00:23:31 GMT
Received: from [157.157.168.204] by mailer.isholf.is (NTMail
        4.20.0009/NU2631.00.d894e447) with ESMTP id kgkacaaa for 
        <[EMAIL PROTECTED]>; Tue, 25 May 1999 15:43:15 +0000
Message-ID: <[EMAIL PROTECTED]>
Date: Tue, 25 May 1999 15:41:44 +0000
From: Jn Gumundsson <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
X-Mailer: Mozilla 3.04 (Win95; I)
MIME-Version: 1.0
To: [EMAIL PROTECTED]
Subject: [kde-isl]: Forritun fyrir KDE Hvar eru grunnkarnir!!
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
Sender: [EMAIL PROTECTED]
Precedence: normal
Organization: Skgrkt R

Einarsson [...]

Reply via email to