commit | 21b964cba850116ee4bfe99950dff28f5c51cf6d | [log] [tgz] |
---|---|---|
author | Marc Kupietz <kupietz@ids-mannheim.de> | Tue Dec 10 17:10:50 2024 +0100 |
committer | Marc Kupietz <kupietz@ids-mannheim.de> | Tue Dec 10 17:10:50 2024 +0100 |
tree | eb99ec170ac714c0e5c5ec4231f44834536c9f79 | |
parent | d26b105331ccab37288bfafe80cbb67bc7c99a3d [diff] [blame] |
Add get_word_frequency function Change-Id: Idef55f5a8f84c4bcba0a1bfdbe563eb74f26857a
diff --git a/src/collocatordb.h b/src/collocatordb.h index 8bb3402..74f2f0e 100644 --- a/src/collocatordb.h +++ b/src/collocatordb.h
@@ -131,5 +131,6 @@ extern char *get_version(); extern uint64_t get_word_id(COLLOCATORDB *db, const char *word); extern uint64_t get_corpus_size(COLLOCATORDB *db); +extern uint64_t get_word_frequency(COLLOCATORDB *db, uint64_t w1); #endif