link-grammar-5.8.0/link-grammar/parse/prune.c
/** Mark bad trigger connectors for later deletion by power_prune().
 */
Mark bad trigger connectors for later deletion by power_prune().
Mark bad trigger connectors for later deletion by power_prune () .
static bool mark_bad_connectors(multiset_table *cmt, Connector *c)
{
	if (c->nearest_word == BAD_WORD)
		return true; 
	Cms *cms = lookup_in_cms_table(cmt, c);
	if (cms->c->nearest_word == BAD_WORD)
	{
		c->nearest_word = BAD_WORD;
		return true;;
	}
	return false;
}
static bool mark_bad_connectors ( multiset_table * cmt , Connector * c ) { if ( c -> nearest_word == BAD_WORD ) return true ; Cms * cms = lookup_in_cms_table ( cmt , c ) ; if ( cms -> c -> nearest_word == BAD_WORD ) { c -> nearest_word = BAD_WORD ; return true ; ; } return false ; }
Mark bad trigger connectors for later deletion by power_prune().
Mark bad trigger connectors for later deletion by power_prune () .
/* Already marked (mainly by connector memory-sharing). */