Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id C98D8200CFA for ; Tue, 5 Sep 2017 21:09:51 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id C80E21609E8; Tue, 5 Sep 2017 19:09:51 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 1A85F1609E2 for ; Tue, 5 Sep 2017 21:09:50 +0200 (CEST) Received: (qmail 649 invoked by uid 500); 5 Sep 2017 19:09:49 -0000 Mailing-List: contact dev-help@opennlp.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@opennlp.apache.org Delivered-To: mailing list dev@opennlp.apache.org Received: (qmail 638 invoked by uid 99); 5 Sep 2017 19:09:49 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Sep 2017 19:09:49 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id DAE20182F97 for ; Tue, 5 Sep 2017 19:09:48 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 0.23 X-Spam-Level: X-Spam-Status: No, score=0.23 tagged_above=-999 required=6.31 tests=[FREEMAIL_ENVFROM_END_DIGIT=0.25, HEADER_FROM_DIFFERENT_DOMAINS=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id mfM4aPu_trHV for ; Tue, 5 Sep 2017 19:09:44 +0000 (UTC) Received: from mail-qt0-f169.google.com (mail-qt0-f169.google.com [209.85.216.169]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id 4E7715FD48 for ; Tue, 5 Sep 2017 19:09:44 +0000 (UTC) Received: by mail-qt0-f169.google.com with SMTP id i50so14626521qtf.0 for ; Tue, 05 Sep 2017 12:09:44 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:content-transfer-encoding:mime-version :subject:date:references:to:in-reply-to:message-id; bh=OjJ4A3XisGbicUSEKol/uMzNv/cMjXIKj1Um25q8O6o=; b=HjMirSPAv3h3t5ISvQXx4AHlyKiIfuVE788NQm3LCaFcui43W1NHVCPFFD+ARh6s82 /A2mIooZhst6bmAhlaQtGO1fyLbKpTUedSYmD0G1ku1SoTdBbdCu0FkRD7T6dibNIqwF EkwXxtlu1LSeZ85y0zVauXKD2biYmPcn5H+kMgg5E+qUlDXi7Gn8xMKuiHcMomUrfKha olAYhPrlGyJl/SxoETTG3ieS5/3T7TJZsk3vjvWy2ePu1027XJYCkRTdYSuxW02gwPIF k0/vXjxTCohKR61ncfL3dMjSivMmzHjQLlHZ7eH5OQ2ko8LajfJc8x1tVw+6tGiYYy0g L7Ig== X-Gm-Message-State: AHPjjUjIkGXCiFOhTcmhsveNZHZu22xyuNFajsG/Lx/BLQhY8YxWnMoo 3N6IMXsK679vSKzrUGk= X-Google-Smtp-Source: ADKCNb5y9UL8JPgLhmd/ajr8w+eoNFqHIRY9B2LphxcPsmkrrjs7Q+H51uHzKLPJw0rZnWNL9Ym4XA== X-Received: by 10.237.35.37 with SMTP id h34mr165418qtc.51.1504638583523; Tue, 05 Sep 2017 12:09:43 -0700 (PDT) Received: from ?IPv6:2607:f220:418:4302::201:43b? ([2607:f220:418:4302::201:43b]) by smtp.gmail.com with ESMTPSA id o17sm875946qkl.73.2017.09.05.12.09.41 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 05 Sep 2017 12:09:42 -0700 (PDT) From: Daniel Russ Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\)) Subject: Re: DictionaryNameFinder Date: Tue, 5 Sep 2017 15:09:41 -0400 References: To: dev@opennlp.apache.org In-Reply-To: Message-Id: <3B9848BE-939D-48FB-BE6A-0BE9A848D7BD@apache.org> X-Mailer: Apple Mail (2.3273) archived-at: Tue, 05 Sep 2017 19:09:52 -0000 Hi Manoj, Please send your question to the users list, not the dev list. I believe the dictionaryNameFinder is passed a dictionary of names = and if a name appears in the dictionary, it is marked as found. = Otherwise, no name is found. It is not a statistical model. The two = methods you describe are similar (but I won=E2=80=99t promise they are = exactly the same). I would use the DictionaryNameFinder, because I = trust that it is implemented well, but if your code is faster and you = trust it go with it. Daniel > On Sep 1, 2017, at 8:56 AM, Manoj B. Narayanan = wrote: >=20 > Hi, >=20 > Can someone please explain how the DictionaryNameFinder works. >=20 > What will be the difference between >=20 > 1. DictionaryNameFinder > 2. Maintaining custom lists in code and performing String = comparisons. >=20 > Is there any computational (time/storage) advantage using one over the > other? >=20 > Please guide me. >=20 > Thanks.