-------- Original Message --------
Subject:        Delivery Status Notification (Failure)
Date:   Fri, 24 Feb 2012 04:06:25 +0000
From:   Mail Delivery Subsystem <[email protected]>
To:     [email protected]



Delivery to the following recipient failed permanently:

     [email protected]

Technical details of permanent failure: 
DNS Error: Domain name not found

----- Original message -----

Received-SPF: pass (google.com: domain of [email protected] designates 
10.68.197.71 as permitted sender) client-ip=10.68.197.71;
Authentication-Results: mr.google.com; spf=pass (google.com: domain of 
[email protected] designates 10.68.197.71 as permitted sender) 
[email protected]; dkim=pass [email protected]
Received: from mr.google.com ([10.68.197.71])
        by 10.68.197.71 with SMTP id is7mr419074pbc.33.1330056385036 (num_hops 
= 1);
        Thu, 23 Feb 2012 20:06:25 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=gamma;
        h=message-id:date:from:user-agent:mime-version:to:subject:references
         :in-reply-to:x-enigmail-version:content-type
         :content-transfer-encoding;
        bh=1XUzr7kKzQnRplF1Iuf+UTWttnMKDuNW+zvmntL0RH0=;
        b=RQyBgqtA4z7MscMcc2ExqgAKmge3pCcTTCgaPeMkpz/JYOb5BZH8F8CJj6Fs6UGSJS
         CAOp/O0VKOMW1vhIR+LT6whJUhqMo5ugEykEYLK20OWWUBluVF0QLu4TIchhvhmH0ei8
         2z7ydxK6OSlfaVZkAAa5rjv1kXUY9r1EMsA+4=
Received: by 10.68.197.71 with SMTP id is7mr313360pbc.33.1330056025791;
        Thu, 23 Feb 2012 20:00:25 -0800 (PST)
Return-Path: <[email protected]>
Received: from [192.168.159.4] (ip98-166-139-124.hr.hr.cox.net. 
[98.166.139.124])
        by mx.google.com with ESMTPS id s1sm3202370pbs.21.2012.02.23.20.00.23
        (version=SSLv3 cipher=OTHER);
        Thu, 23 Feb 2012 20:00:24 -0800 (PST)
Message-ID: <[email protected]>
Date: Thu, 23 Feb 2012 23:00:29 -0500
From: James Kosin <[email protected]>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:10.0.1) Gecko/20120208 
Thunderbird/10.0.1
MIME-Version: 1.0
To: [email protected]
Subject: Re: Some questions about Dictionary and DictionaryNameFinder
References: <[email protected]> <[email protected]> 
<[email protected]> <[email protected]> 
<[email protected]> <[email protected]> 
<[email protected]>
In-Reply-To: <[email protected]>
X-Enigmail-Version: 1.3.5
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit

On 2/23/2012 1:56 PM, Jim - FooBar(); wrote:
> On 23/02/12 15:50, Jörn Kottmann wrote:
>> On 02/23/2012 04:41 PM, Jim wrote:
>>> If you could help me sort out the dictionary problem it would be
>>> amazing!!!
>>
>> +1 to work on better gazetteer support! There are many people
>> who need a feature like this.
>>
>> The stuff we have right now in OpenNLP was created to have a simple
>> lookup dictionary for feature generation. I am sure there is lot of room
>> to improve it.
>>
>> Jörn
>
> I'm not sure i understood...Can the Dictionary find multi-word
> entities? I would say it can't simply because it expects tokenized
> text and then it tries to find an exact match. So an entry like "Folic
> acid" is being split into 2 tokens just before the Dictionary sees
> it...so it will try to first  match "folic" and  "acid" separately!
>
> Any ideas? Apparently someone else had the same problem and solved
> it!!! I'd donate my left hand to know how!!!!
>
> Thanks,
> Jim
Jim,

Maybe the problem is how you have created the dictionary.  The
DictionaryNameFinder's find() method is a greedy method that will match
as many tokens as possible.
If it isn't matching more than one token than that is probably all the
dictionary contains per entry.

Look at the simple example in the test packages for
opennlp.tools.namefind DictionaryNameFinderTest.java in the source packages.

There has a good example.

James

Reply via email to