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;

 view all matches for this distribution
 view release on metacpan -  search on metacpan

( run in 1.136 second using v1.00-cache-2.02-grep-82fe00e-cpan-4673cadbf75 )