link-grammar-5.8.0/link-grammar/tokenize/wordgraph.c
/**
 * Delete the gword_set associated with the Wordgraph.
 * @w First Wordgraph word.
 */
Delete the gword_set associated with the Wordgraph.
@w First Wordgraph word.
Delete the gword_set associated with the Wordgraph . @w First Wordgraph word .
static void gword_set_delete(Gword *w)
{
	if (NULL == w) return;
	for (w = w->chain_next; NULL != w; w = w->chain_next)
	{
		gword_set *n;
		for (gword_set *f = w->gword_set_head.chain_next; NULL != f; f = n)
		{
			n = f->chain_next;
			free(f);
		}
	}
}
static void gword_set_delete ( Gword * w ) { if ( NULL == w ) return ; for ( w = w -> chain_next ; NULL != w ; w = w -> chain_next ) { gword_set * n ; for ( gword_set * f = w -> gword_set_head . chain_next ; NULL != f ; f = n ) { n = f -> chain_next ; free ( f ) ; } } }
Delete the gword_set associated with the Wordgraph.
Delete the gword_set associated with the Wordgraph .