Hello community,
here is the log from the commit of package perl-Lingua-EN-Tagger for
openSUSE:Factory checked in at 2018-05-29 10:34:22
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-Lingua-EN-Tagger (Old)
and /work/SRC/openSUSE:Factory/.perl-Lingua-EN-Tagger.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-Lingua-EN-Tagger"
Tue May 29 10:34:22 2018 rev:5 rq:610758 version:0.29
Changes:
--------
---
/work/SRC/openSUSE:Factory/perl-Lingua-EN-Tagger/perl-Lingua-EN-Tagger.changes
2017-01-10 10:46:21.399047486 +0100
+++
/work/SRC/openSUSE:Factory/.perl-Lingua-EN-Tagger.new/perl-Lingua-EN-Tagger.changes
2018-05-29 10:34:35.835356550 +0200
@@ -1,0 +2,10 @@
+Sat May 19 05:27:23 UTC 2018 - [email protected]
+
+- updated to 0.29
+ see /usr/share/doc/packages/perl-Lingua-EN-Tagger/Changes
+
+ 0.29 Aaron Coburn 5/18/18
+ Add an add_tags_incrementally method for a more
+ stream-based parsing mechanism. Updated email address.
+
+-------------------------------------------------------------------
Old:
----
Lingua-EN-Tagger-0.28.tar.gz
New:
----
Lingua-EN-Tagger-0.29.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perl-Lingua-EN-Tagger.spec ++++++
--- /var/tmp/diff_new_pack.HHZvPq/_old 2018-05-29 10:34:36.427334689 +0200
+++ /var/tmp/diff_new_pack.HHZvPq/_new 2018-05-29 10:34:36.431334542 +0200
@@ -1,7 +1,7 @@
#
# spec file for package perl-Lingua-EN-Tagger
#
-# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,15 +17,15 @@
Name: perl-Lingua-EN-Tagger
-Version: 0.28
+Version: 0.29
Release: 0
#Upstream: GPL-1.0+
%define cpan_name Lingua-EN-Tagger
Summary: Part-of-speech tagger for English natural language processing
-License: GPL-3.0
+License: GPL-3.0-only
Group: Development/Libraries/Perl
Url: http://search.cpan.org/dist/Lingua-EN-Tagger/
-Source0:
http://www.cpan.org/authors/id/A/AC/ACOBURN/%{cpan_name}-%{version}.tar.gz
+Source0:
https://cpan.metacpan.org/authors/id/A/AC/ACOBURN/%{cpan_name}-%{version}.tar.gz
Source1: cpanspec.yml
# MANUAL
#BuildArch: noarch
++++++ Lingua-EN-Tagger-0.28.tar.gz -> Lingua-EN-Tagger-0.29.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Lingua-EN-Tagger-0.28/Changes
new/Lingua-EN-Tagger-0.29/Changes
--- old/Lingua-EN-Tagger-0.28/Changes 2016-12-23 16:33:06.000000000 +0100
+++ new/Lingua-EN-Tagger-0.29/Changes 2018-05-18 17:50:02.000000000 +0200
@@ -1,5 +1,9 @@
Revision history for Perl extension Lingua::EN::Tagger
+0.29 Aaron Coburn 5/18/18
+ Add an add_tags_incrementally method for a more
+ stream-based parsing mechanism. Updated email address.
+
0.28 Aaron Coburn 12/23/16
Changed the generation of the part-of-speech
lexicon to use nstore instead of store. Based on a
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Lingua-EN-Tagger-0.28/META.json
new/Lingua-EN-Tagger-0.29/META.json
--- old/Lingua-EN-Tagger-0.28/META.json 2016-12-23 16:33:29.000000000 +0100
+++ new/Lingua-EN-Tagger-0.29/META.json 2018-05-18 17:51:17.000000000 +0200
@@ -1,7 +1,7 @@
{
"abstract" : "Part-of-speech tagger for English natural language
processing.",
"author" : [
- "Maciej Ceglowski and Aaron Coburn <[email protected]>,
<[email protected]>"
+ "Maciej Ceglowski and Aaron Coburn <[email protected]>,
<[email protected]>"
],
"dynamic_config" : 1,
"generated_by" : "ExtUtils::MakeMaker version 6.66, CPAN::Meta::Converter
version 2.133380",
@@ -44,5 +44,5 @@
}
},
"release_status" : "stable",
- "version" : "0.28"
+ "version" : "0.29"
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Lingua-EN-Tagger-0.28/META.yml
new/Lingua-EN-Tagger-0.29/META.yml
--- old/Lingua-EN-Tagger-0.28/META.yml 2016-12-23 16:33:29.000000000 +0100
+++ new/Lingua-EN-Tagger-0.29/META.yml 2018-05-18 17:51:17.000000000 +0200
@@ -1,7 +1,7 @@
---
abstract: 'Part-of-speech tagger for English natural language processing.'
author:
- - 'Maciej Ceglowski and Aaron Coburn <[email protected]>,
<[email protected]>'
+ - 'Maciej Ceglowski and Aaron Coburn <[email protected]>,
<[email protected]>'
build_requires:
ExtUtils::MakeMaker: 0
configure_requires:
@@ -26,4 +26,4 @@
Memoize::ExpireLRU: 0.55
Storable: 2.10
perl: 5.008001
-version: 0.28
+version: 0.29
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Lingua-EN-Tagger-0.28/Makefile.PL
new/Lingua-EN-Tagger-0.29/Makefile.PL
--- old/Lingua-EN-Tagger-0.28/Makefile.PL 2016-12-23 16:29:11.000000000
+0100
+++ new/Lingua-EN-Tagger-0.29/Makefile.PL 2018-05-18 17:36:36.000000000
+0200
@@ -23,7 +23,7 @@
'File::Spec' => '0.84',
'Storable' => '2.10'
}, # e.g., Module::Name => 1.1
- 'AUTHOR' => 'Maciej Ceglowski and Aaron Coburn <[email protected]>,
<[email protected]>',
+ 'AUTHOR' => 'Maciej Ceglowski and Aaron Coburn <[email protected]>,
<[email protected]>',
);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Lingua-EN-Tagger-0.28/Tagger.pm
new/Lingua-EN-Tagger-0.29/Tagger.pm
--- old/Lingua-EN-Tagger-0.28/Tagger.pm 2016-12-23 16:30:50.000000000 +0100
+++ new/Lingua-EN-Tagger-0.29/Tagger.pm 2018-05-18 17:50:58.000000000 +0200
@@ -1,6 +1,6 @@
package Lingua::EN::Tagger;
-our $VERSION = '0.28';
+our $VERSION = '0.29';
use warnings;
use strict;
@@ -187,6 +187,24 @@
sub add_tags {
my ($self, $text) = @_;
+ my $tags = $self->add_tags_incrementally($text);
+ $self->_reset;
+ return $tags;
+}
+
+######################################################################
+
+=item add_tags_incrementally TEXT
+
+Examine the string provided and return it fully tagged (XML style) but
+do not reset the internal part-of-speech state between invocations.
+
+=cut
+
+######################################################################
+sub add_tags_incrementally {
+ my ($self, $text) = @_;
+
return unless $self->_valid_text($text);
my @text = $self->_clean_text($text);
@@ -198,11 +216,9 @@
"<$t>$_</$t>"
} @text;
$self->{'current_tag'} = $t;
- $self->_reset;
return join ' ', @tags;
}
-
######################################################################
=item get_words TEXT
@@ -922,7 +938,7 @@
=head1 AUTHORS
- Aaron Coburn <[email protected]>
+ Aaron Coburn <[email protected]>
=head1 CONTRIBUTORS
@@ -931,7 +947,7 @@
=head1 COPYRIGHT AND LICENSE
- Copyright 2003-2010 Aaron Coburn <[email protected]>
+ Copyright 2003-2010 Aaron Coburn <[email protected]>
This program is free software; you can redistribute it and/or modify
it under the terms of version 3 of the GNU General Public License as