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 46899200BE1 for ; Mon, 19 Dec 2016 18:30:48 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 45105160B21; Mon, 19 Dec 2016 17:30:48 +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 8E384160B14 for ; Mon, 19 Dec 2016 18:30:47 +0100 (CET) Received: (qmail 9986 invoked by uid 500); 19 Dec 2016 17:30:46 -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 9969 invoked by uid 99); 19 Dec 2016 17:30:46 -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; Mon, 19 Dec 2016 17:30:46 +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 1138418014C for ; Mon, 19 Dec 2016 17:30:46 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.398 X-Spam-Level: ** X-Spam-Status: No, score=2.398 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, RCVD_IN_SORBS_SPAM=0.5, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd3-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com 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 NxSfeot0jWdb for ; Mon, 19 Dec 2016 17:30:45 +0000 (UTC) Received: from mail-oi0-f47.google.com (mail-oi0-f47.google.com [209.85.218.47]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id CEAA75F254 for ; Mon, 19 Dec 2016 17:30:44 +0000 (UTC) Received: by mail-oi0-f47.google.com with SMTP id w63so152176438oiw.0 for ; Mon, 19 Dec 2016 09:30:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=CHG4PdPhO/scuiJVYF97/fOrggBjkyyaSqaBcVE0PE0=; b=Vg+Lc1CbGP8LUoBrbLTuOBHAhjOcwYq/PstAm3BT2ldIZLunX/vTFYKYLaHeqA+bk+ 8qsn30MvAjazcjLa7BKVvoG0edYfkZf2v3JesukqWHwy+8UCqGaP6ZPubJCiflpuZ9S3 GKU/f05NaAbJc3z5YvglsMZ02dW8ej8fgkztxXWqFZJsu8R6LfzFyyJGvoifuNeDaDMy BiWcTrEMQbNnn+s3HXlFWQCMpDQeIABzl5o1245qldT2FQ2Fz6WgstUbEhXyNk7csmsO SVOC67vhfOO25WM43KMsbubQm4Sydw/uwccJ+olssVLeVmRBJVSgUf6zaXHC8j7LqV7n UN3A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=CHG4PdPhO/scuiJVYF97/fOrggBjkyyaSqaBcVE0PE0=; b=nc+MshRT7c/nVq4O7VViTapOOu04JrBdXFHXnMk9FK2vROPsp5lW5ciGV8KFlxJBN4 Biw9Sw4OLd74gexeU44D7Ah/TKPikpiVog9ynQ8nSmJfcOO2nCSsIwUhLdTQRvIkaeJW fzoeJe8j9fZTeB4gn2H7fp5qgstFY0Fr/99qDQXygrpIBvtfV7xjvzoEhW5GFmF9+Eqe qDpEWwYl/wKutNx9SGUer83ZABTOckFckiVbBFN+ogGz8hRAgjvBFUYKRdEwuPA3/qJU 2ZRTOpyte5vHuDzZtndLTl/hKhRnU2AWT3oTfKkl+hRdQX5ZDo9CH1waN/zzQyT3dgUP j9pA== X-Gm-Message-State: AIkVDXI1sNM6KGQeymgmeR4byu48RivhPZ7VC+GSF/udHjrMeR273+iLoc0GPj77Ad7YyP6o/l+frgpgdiItZA== X-Received: by 10.202.86.134 with SMTP id k128mr9714502oib.212.1482168636156; Mon, 19 Dec 2016 09:30:36 -0800 (PST) MIME-Version: 1.0 Received: by 10.157.27.103 with HTTP; Mon, 19 Dec 2016 09:30:35 -0800 (PST) In-Reply-To: References: From: Joern Kottmann Date: Mon, 19 Dec 2016 18:30:35 +0100 Message-ID: Subject: Re: Get Original text To: "dev@opennlp.apache.org" Content-Type: multipart/alternative; boundary=001a113de2bc0e2f60054406471e archived-at: Mon, 19 Dec 2016 17:30:48 -0000 --001a113de2bc0e2f60054406471e Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable The API only supports tokenized input. J=C3=B6rn On Mon, Dec 19, 2016 at 3:30 PM, Damiano Porta wrote: > Jorn, yes you are right, my apologies. > > I am doing the senteces detection (with a custom italian model), so yes i > work with the tokens of each sentence inside my custom feature generator, > but i would like to get the original text sentence too without > tokenization. > > I am finding a way to pass the original text too and analyze it inside th= e > createFeatures() callback. > > Is it possible somehow? > > 2016-12-19 13:54 GMT+01:00 Joern Kottmann : > > > Hello, > > > > the question is not clear to me. The feature generator sees the current > > sentence only. > > > > J=C3=B6rn > > > > On Sat, Dec 17, 2016 at 1:13 AM, Damiano Porta > > wrote: > > > > > Hello, > > > is it possible to get/pass the original text inside a Custom NER > Feature > > > Generator somehow? > > > > > > Thanks > > > Damiano > > > > > > --001a113de2bc0e2f60054406471e--