Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def get_key_phrases(path_stage2):
"""Get all found key phrases."""
phrases = set([p for p in pytextrank.limit_keyphrases(
os.path.join(PATH_PREFIX, path_stage2), phrase_limit=3)])
return phrases