Added location information for all terms (might need to come back to this because they are not quite accurate, they include the trailing whitespaces).