link-grammar-5.8.0/link-grammar/dict-common/print-dict.c
/**
 *  dict_display_word_expr() - display the connector info for a given word.
 */
display the connector info for a given word.
display the connector info for a given word .
char *dict_display_word_expr(Dictionary dict, const char * word, Parse_Options opts)
{
	const char *arg[2];
	char *wordbuf = strdupa(word);
	word = display_word_extract(wordbuf, &arg[0], &arg[1]);
	if ('\0' == *word) return strdup(" ");
	if (arg[0] == NULL) arg[0] = &do_display_expr;
	return display_word_split(dict, word, opts, display_word_expr, arg);
}
char * dict_display_word_expr ( Dictionary dict , const char * word , Parse_Options opts ) { const char * arg [ 2 ] ; char * wordbuf = strdupa ( word ) ; word = display_word_extract ( wordbuf , & arg [ 0 ] , & arg [ 1 ] ) ; if ( ' \0 ' == * word ) return strdup ( " " ) ; if ( arg [ 0 ] == NULL ) arg [ 0 ] = & do_display_expr ; return display_word_split ( dict , word , opts , display_word_expr , arg ) ; }
dict_display_word_expr() - display the connector info for a given word.
dict_display_word_expr () - display the connector info for a given word .
/* If no regex component, then it's a request to display expressions. */