Takeshi Miki

NAME

Text::SimSearch - inverted index for similarity search

SYNOPSIS

  use Text::SimSearch;

  my $indexer = Text::SimSearch->new;

  $indexer->add_item_from_file("source_file.tsv");
  $indexer->save("save.bin");

  $indexer->load("save.bin");

  my $query_vector = { BAG_OF_WORDS };
  my $top_k_query  = 100; # retrieve num
  my $result = $indexer->search( $query_vector, $top_k_query );

DESCRIPTION

Text::SimSearch is a on-memory inverted index for similarity search.

AUTHOR

Takeshi Miki <miki@cpan.org>

SEE ALSO

LICENSE

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.