Search::Mousse::Writer::Related - Writer for related items in Search::Mousse
my $related = Search::Mousse::Writer::Related->new( mousse => $mousse, size => 10, ); $related->write;
Search::Mousse::Writer::Related takes a Search::Mousse database and analyses it to find related items. Once you have analysed it, the Search::Mousse methods fetch_similar and fetch_similar_keys will then be available.
The constructor takes a few arguments: a new Search::Mousse object and the maximum number of related items you wish to retrieve:
my $related = Search::Mousse::Writer::Related->new( mousse => $mousse, size => 10, );
To analyse the database and write out the results, you must call the write() method:
Copyright (C) 2005, Leon Brocard
This module is free software; you can redistribute it or modify it under the same terms as Perl itself.