The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

DiaColloDB::Compat::v0_11::Relation::TDF - collocation db, profiling relation: co-occurence frequencies via (term x document) raw-frequency matrix + formerly DiaColloDB::Relation::Vsem.pm ("vector-space distributional semantic index")

SYNOPSIS

##========================================================================
## PRELIMINARIES

use DiaColloDB::Compat::v0_11::Relation::TDF;

##========================================================================
## Relation API: open/close

$vs_or_undef = $vs->open($base);

##========================================================================
## Profile: Utils: domain sizes

$NY = $vs->nDates();

##========================================================================
## Profile Utils: slice frequency

$N = $vs->sliceN($sliceBy, $dateLo);

DESCRIPTION

Globals & Constants

Variable: @ISA

(undocumented)

Relation API: open/close

open
$vs_or_undef = $vs->open($base);

$vs_or_undef = $vs->open($base,$flags) $vs_or_undef = $vs->open()

Profile: Utils: domain sizes

nDates
$NY = $vs->nDates();

override returns undef

Profile Utils: slice frequency

sliceN
$N = $vs->sliceN($sliceBy, $dateLo);

get total slice co-occurrence count, used by vprofile()

AUTHOR

Bryan Jurish <moocow@cpan.org>

COPYRIGHT AND LICENSE

Copyright (C) 2017-2020 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), ...