/usr/include/link-grammar/dict-api.h is in liblink-grammar-dev 5.3.14-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 | /*************************************************************************/
/* Copyright (c) 2004 */
/* Daniel Sleator, David Temperley, and John Lafferty */
/* Copyright (c) 2013 Linas Vepstas */
/* All rights reserved */
/* */
/* Use of the link grammar parsing system is subject to the terms of the */
/* license set forth in the LICENSE file included with this software. */
/* This license allows free redistribution and use in source and binary */
/* forms, with or without modification, subject to certain conditions. */
/* */
/*************************************************************************/
#ifndef _LG_DICT_API_H_
#define _LG_DICT_API_H_
#include "dict-structures.h"
#include "link-includes.h"
LINK_BEGIN_DECLS
/**
* Declaration of dictionary-related functions that link-grammar users
* are free to use in their applications. That is, these are a part of
* the public API to the link-parser system.
*/
Dictionary dictionary_create_from_utf8(const char * input);
bool boolean_dictionary_lookup(const Dictionary, const char *);
Dict_node * abridged_lookup_list(const Dictionary, const char *);
Dict_node * dictionary_lookup_list(const Dictionary, const char *);
bool find_word_in_dict(const Dictionary, const char *);
void free_lookup_list(const Dictionary, Dict_node *);
/* XXX the below probably does not belong ... ?? */
Dict_node * insert_dict(Dictionary dict, Dict_node * n, Dict_node * newnode);
void print_expression(const Exp *);
LINK_END_DECLS
#endif /* _LG_DICT_API_H_ */
|