From: MBA: a literature mining system for extracting biomedical abbreviations
1: Initiate an empty candidate definition list CDL; |
2: Num = the number of words from the beginning of the sentence which contains the abbreviation to the left parenthesis; |
3: if (Num < Max.|DEF|) { SearchSpaceString = the string from the beginning of the sentence to the left parenthesis; } else { SearchSpaceString = the string that contains Max.|DEF| words before the left parenthesis; } |
4: WordNum = min (Num, Max.|DEF|); |
5: for (N = 0; N < WordNum; N++) { CandidateDef = SearchSpaceString with the leftmost N words deleted; insert CandidateDef into CDL; } |