def hasResearchExperience(notes): negativeKeywords = ['no research', 'no publi'] positiveKeywords = [ 'research', 'publish', 'publication', 'paper', 'academic', 'author', 'conference' ] return QueryUtil.searchKeywords(notes, negativeKeywords, positiveKeywords)
def hasWorkExperience(notes): negativeKeywords = ['no work', 'no industry'] positiveKeywords = ['work', 'industry'] return QueryUtil.searchKeywords(notes, negativeKeywords, positiveKeywords)