Using pathfinder to extract semantic information from text