blob: de0d227d139d780a757cc7814ede59a1d0e89ea6 [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 Kupietz6aec7682018-01-10 09:47:48 +01008 COLLOCATORDB *cdb = open_collocatordb("/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}