def parse_sents(inputs, grammar, trace=0):
    # put imports here to avoid circult dependencies
    from nltk.grammar import FeatureGrammar
    from nltk.parse import FeatureChartParser, load_parser

    if isinstance(grammar, FeatureGrammar):
        cp = FeatureChartParser(grammar)
    else:
        cp = load_parser(grammar, trace=trace)
    parses = []
    for sent in inputs:
        tokens = sent.split() # use a tokenizer?
        syntrees = list(cp.parse(tokens))
        parses.append(syntrees)
    return parses
Generates a sys path to house the repo based on the origin url
dataset/ETHPy150Open nltk/nltk/nltk/sem/util.py/parse_sents--crossover with--dataset/ETHPy150Open box/ClusterRunner/app/project_type/git.py/Git.get_full_repo_directory