The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

DiaColloDB::Compat::v0_11::Relation::Unigrams - collocation db, profiling relation: unigram database (using DiaColloDB::PackedFile)

SYNOPSIS

 ##========================================================================
 ## PRELIMINARIES
 
 use DiaColloDB::Compat::v0_11::Relation::Unigrams;
 
 ##========================================================================
 ## I/O: open/close
 
 $ug_or_undef = $ug->open($base,$flags);
 $ug_or_undef = $ug->close();
 $bool = $ug->opened();
 
 ##========================================================================
 ## Utilities: lookup
 
 $N = $cof->sliceN($slice,$dateLo);
 

DESCRIPTION

Globals & Constants

Variable: @ISA

(undocumented)

I/O: open/close

open
 $ug_or_undef = $ug->open($base,$flags);

$ug_or_undef = $ug->open($base) $ug_or_undef = $ug->open()

close
 $ug_or_undef = $ug->close();

(undocumented)

opened
 $bool = $ug->opened();

(undocumented)

Utilities: lookup

sliceN
 $N = $cof->sliceN($slice,$dateLo);

get total slice co-occurrence count (compatible wrapper uses constant $cof->{N} for all slices)

AUTHOR

Bryan Jurish <moocow@cpan.org>

COPYRIGHT AND LICENSE

Copyright (C) 2017 by Bryan Jurish

This package is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.14.2 or, at your option, any later version of Perl 5 you may have available.

SEE ALSO

dcdb-create.per(1), dcdb-query.perl(1), dcdb-info.perl(1), dcdb-export.perl(1), dcdb-dump.perl(1), DiaColloDB(3pm), perl(1), ...