edu.arizona.sista.reach.grounding
Type alias for functions which take a text string and return a potential key string.
Type alias for functions which take a text string and return a potential key string.
Return a sequence of alternate keys, one for each of the given key transforms.
Return a sequence of alternate keys, one for each of the given key transforms.
Check for one of several types of hyphen-separated strings and, if found, extract and return the candidate text portion, else return the text unchanged.
Canonicalize the given text string into a key for both storage and lookup.
Return alternate lookup keys created from the given text string and transform functions.
Return the portion of the text string minus one of the protein family suffixes, if found in the given text string, else return the text lowercased.
Return the portion of the text string before a trailing mutation phrase, if found in the given text string, else return the text unchanged.
Return the portion of the text string minus one of the organ-cell-type suffixes, if found in the given text string, else return the text unchanged.
Return the portion of the text string minus any of the PTM-related prefixes, if found in the given text string, else return the text unchanged.
Return the portion of the text string minus one of the protein suffixes, if found in the given text string, else return the text lowercased.
Try to remove all of the suffixes in the given set from the given text.
Try to remove all of the suffixes in the given set from the given text.
REACH-related methods for transforming text strings into potential keys for lookup in KBs. Written by Tom Hicks. 11/10/2015. Last Modified: Restrict PTM patterns per issue #90.