Add method to compute measures for a specific node collocate pair
Change-Id: Idbc59ad850dff5e33ba3c56215855667d9b7cf6e
diff --git a/collocatordb.h b/collocatordb.h
index ac76866..f249791 100644
--- a/collocatordb.h
+++ b/collocatordb.h
@@ -67,10 +67,12 @@
typedef struct COLLOCATORDB COLLOCATORDB;
#endif
-extern COLLOCATORDB *open_collocatordb(char *s);
-extern COLLOCATORDB *open_collocatordb_for_write(char *s);
+extern COLLOCATORDB *open_collocatordb(const char *s);
+extern COLLOCATORDB *open_collocatordb_for_write(const char *s);
extern void inc_collocator(COLLOCATORDB *db, uint64_t w1, uint64_t w2, int8_t dist);
extern void dump_collocators(COLLOCATORDB *db, uint32_t w1, uint32_t w2, int8_t dist);
extern void get_collocators(COLLOCATORDB *db, uint32_t w1);
+extern void get_collocation_scores(COLLOCATORDB *db, uint32_t w1, uint32_t w2);
extern char *get_collocators_as_json(COLLOCATORDB *db, uint32_t w1);
+extern char *get_collocation_scores_as_json(COLLOCATORDB *db, uint32_t w1, uint32_t w2);
extern char *get_word(COLLOCATORDB *db, uint32_t w1);