| 1: | for every sentence S in an abstract A do |
| 2: | for every unique sentence token ST in S do |
| 3: | for every unique GO token G T in all GO terms do |
| 4: | if ST equals GT then |
| 5: | assign one point to S |
| 6: | end if |
| 7: | end for |
| 8: | end for |
| 9: | if S is the title or penultimate or last sentence of A then |
| 10: | assign one point to S |
| 11: | end if |
| 12: | if S has a cue word match then |
| 13: | assign one point to S |
| 14: | end if |
| 15: | if S is assigned more points than other sentences then |
| 16: | generif-candidate ← S |
| 17: | end if |
| 18: | end for |