link-grammar-5.8.0/link-grammar/dict-common/dict-common.c
/**
 * Return TRUE if the word seems to be in stem form.
 * Stems are signified by including = sign which is preceded by the subscript
 * mark.  Examples (. represented the subscript mark): word.= word.=[!]
 */
Return TRUE if the word seems to be in stem form.
Stems are signified by including = sign which is preceded by the subscript
mark.  Examples (. represented the subscript mark): word.= word.=[!]
Return TRUE if the word seems to be in stem form . Stems are signified by including = sign which is preceded by the subscript mark . Examples ( . represented the subscript mark ) : word . = word . = [ ! ]
bool is_stem(const char* w)
{
	const char *subscrmark = strchr(w, SUBSCRIPT_MARK);
	if (NULL == subscrmark) return false;
	if (subscrmark == w) return false;
	if (STEM_MARK != subscrmark[1]) return false;
	return true;
}
bool is_stem ( const char * w ) { const char * subscrmark = strchr ( w , SUBSCRIPT_MARK ) ; if ( NULL == subscrmark ) return false ; if ( subscrmark == w ) return false ; if ( STEM_MARK != subscrmark [ 1 ] ) return false ; return true ; }
Return TRUE if the word seems to be in stem form.
Return TRUE if the word seems to be in stem form .