blob: bb40f4ac57998b16b51da562f0d85ab647e545da [file] [log] [blame]
Marc Kupietzc8ddf452018-01-07 21:33:12 +01001#include <stdio.h>
2#include <stdlib.h>
3#include <string.h>
4#include <math.h>
5#include "collocatordb.h"
6
Marc Kupietzc8ddf452018-01-07 21:33:12 +01007int main() {
Marc Kupietz6bb27762018-01-09 17:53:01 +01008 COLLOCATORS *cdb = open_collocators_for_read("/vol/work/kupietz/Work2/kl/trunk/Analysemethoden/wang2vec/sample");
Marc Kupietz6bb27762018-01-09 17:53:01 +01009 for(int i=100; i < 1000; i++)
Marc Kupietz37359b12018-01-09 21:11:37 +010010 get_collocators(cdb, i);
11 printf("%s\n", get_collocators_as_json(cdb, 500));
Marc Kupietzc8ddf452018-01-07 21:33:12 +010012 return 0;
13}