| 1 | /*************************************************************************/cxx . . $ `<file>/link-grammar/dict-common/dict-utils.h`/ |
| 2 | /* Copyright (c) 2004 */ |
| 3 | /* Daniel Sleator, David Temperley, and John Lafferty */ |
| 4 | /* Copyright (c) 2009, 2013 Linas Vepstas */ |
| 5 | /* All rights reserved */ |
| 6 | /* */ |
| 7 | /* Use of the link grammar parsing system is subject to the terms of the */ |
| 8 | /* license set forth in the LICENSE file included with this software. */ |
| 9 | /* This license allows free redistribution and use in source and binary */ |
| 10 | /* forms, with or without modification, subject to certain conditions. */ |
| 11 | /* */ |
| 12 | /*************************************************************************/ |
| 13 | |
| 14 | /** |
| 15 | * Collection of utilities for dictionary users. |
| 16 | * This includes the tokenizer, the pruner, the printer, etc. |
| 17 | */ |
| 18 | |
| 19 | #ifndef _DICT_UTILS_H_ |
| 20 | #define _DICT_UTILS_H_cxx . . $ `link-grammar/dict-common/dict-utils.h:20:9`! |
| 21 | |
| 22 | #include "dict-common.h"cxx . . $ `<file>/link-grammar/dict-common/dict-common.h`/ |
| 23 | #include "dict-structures.h"cxx . . $ `<file>/link-grammar/dict-common/dict-structures.h`/ // Exp |
| 24 | |
| 25 | void patch_subscriptcxx . . $ patch_subscript(fda57c8427c60377).(char *); |
| 26 | |
| 27 | /* Exp utilities ... */ |
| 28 | int size_of_expressioncxx . . $ size_of_expression(19847cb37e626cde).(Expcxx . . $ Exp# *); |
| 29 | Expcxx . . $ Exp# * copy_Expcxx . . $ copy_Exp(bbf554c3dcb12c80).(Expcxx . . $ Exp# *, Pool_desccxx . . $ Pool_desc# *, Parse_Optionscxx . . $ Parse_Options#); |
| 30 | boolcxx . . $ `<external>/14268322491693841775/stdbool.h:36:9`! is_exp_like_empty_wordcxx . . $ is_exp_like_empty_word(7793f5ffde6dba9c).(Dictionarycxx . . $ Dictionary# dict, Expcxx . . $ Exp# *); |
| 31 | const char *exp_stringifycxx . . $ exp_stringify(fb549451c3e0b948).(const Expcxx . . $ Exp# *n); |
| 32 | #ifdef DEBUG |
| 33 | void prt_exp(Exp *, int); |
| 34 | void prt_exp_mem(Exp *); |
| 35 | #endif /* DEBUG */ |
| 36 | |
| 37 | /* Dictionary utilities ... */ |
| 38 | boolcxx . . $ `<external>/14268322491693841775/stdbool.h:36:9`! word_containscxx . . $ word_contains(ccbcd1a044330b3e).(Dictionarycxx . . $ Dictionary# dict, const char * word, const char * macro); |
| 39 | |
| 40 | #endif /* _DICT_UTILS_H_ */ |