commit | 979580e1c2eb917e8e8010941c50c2a4ff97b36e | [log] [tgz] |
---|---|---|
author | Marc Kupietz <kupietz@ids-mannheim.de> | Thu Nov 21 18:05:07 2024 +0100 |
committer | Marc Kupietz <kupietz@ids-mannheim.de> | Thu Nov 21 18:05:07 2024 +0100 |
tree | a712b0e6fa903137f79ca1d072651f74ec266050 | |
parent | f08631e680931eeafd340369cfee7fb7a5e360dc [diff] [blame] |
Add get_word_id(char* word) method to library Change-Id: Idf0701248ccdf0ecc1c2265d215fbe582510ea96
diff --git a/src/collocatordb.h b/src/collocatordb.h index 0eed8d8..d601902 100644 --- a/src/collocatordb.h +++ b/src/collocatordb.h
@@ -128,4 +128,6 @@ extern char *get_word(COLLOCATORDB *db, uint32_t w1); extern void read_vocab(COLLOCATORDB *db, char *fname); extern char *get_version(); +extern uint64_t get_word_id(COLLOCATORDB *db, const char *word); + #endif