Lingua-RU-OpenCorpora-Tokenizer
view release on metacpan or search on metacpan
lib/Lingua/RU/OpenCorpora/Tokenizer/Updater.pm view on Meta::CPAN
$self->_init;
$self;
}
sub vectors_update_available { $_[0]->_update_available('vectors', $_[1]) }
sub hyphens_update_available { $_[0]->_update_available('hyphens', $_[1]) }
sub exceptions_update_available { $_[0]->_update_available('exceptions', $_[1]) }
sub prefixes_update_available { $_[0]->_update_available('prefixes', $_[1]) }
sub update_vectors { $_[0]->_update('vectors') }
sub update_hyphens { $_[0]->_update('hyphens') }
sub update_exceptions { $_[0]->_update('exceptions') }
sub update_prefixes { $_[0]->_update('prefixes') }
sub _init {
my $self = shift;
my $ua = LWP::UserAgent->new(
agent => __PACKAGE__ . ' ' . $VERSION . ', ',
env_proxy => 1,
);
$self->{ua} = $ua;
( run in 0.504 second using v1.01-cache-2.11-cpan-95122f20152 )