Source code for the Freetext Matching Algorithm, a natural language processing system for clinical text