def xtractPhrases(self, sent_i, sent):

        refToks = sent.split()
        sent_len = len(refToks)

        if not RefPhrases.sentPhrasesDoD.has_key(sent_i):
            RefPhrases.sentPhrasesDoD[sent_i] = {}

        for ref_j in xrange(sent_len):
            for ref_k in xrange(ref_j + 1, sent_len + 1):
                ref_phr = ' '.join( refToks[ref_j:ref_k] )

                # Add phrases directly to the dict
                if RefPhrases.phrasesDict.has_key(ref_phr):
                    RefPhrases.phrasesDict[ref_phr] += 1
                else:
                    RefPhrases.phrasesDict[ref_phr] = 1
                    RefPhrases.tot_ref_phrases += 1

                # Add phrases to the dict indexed by the sent id
                if not RefPhrases.sentPhrasesDoD[sent_i].has_key(ref_phr):
                    RefPhrases.sentPhrasesDoD[sent_i][ref_phr] = 1
        return None
Restarts the server.
dataset/ETHPy150Open sfu-natlang/Kriya/src/Kriya-Decoder/refPhrases.py/RefPhrases.xtractPhrases--crossover with--dataset/ETHPy150Open AppScale/appscale/AppServer/google/appengine/tools/devappserver2/server.py/Server.resume