Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(5)  |  Call(5)  |  Derive(0)  |  Import(0)

src/l/i/libphilo-HEAD/python/philologic/DB.py   libphilo(Download)
            return MetadataQuery.metadata_query(self,all_file,[{"philo_type":['"%s"' % philo_type]}])
        else:
            return HitList.HitList(all_file,0,self)
 
    def query(self,qs="",method="",method_arg=0,limit=10000000,**metadata):
            else:
#                print >> sys.stderr, "cached @ %s" % corpus_file
                corpus = HitList.HitList(corpus_file,0,self)
                corpus.finish()             
            print >> sys.stderr, "corpus file of length %d" % len(corpus)
                return Query.query(self,qs,corpus_file,self.width,method,method_arg,limit,filename=search_file)
            else:
                return HitList.HitList(search_file,words_per_hit,self)
        else:
            if corpus:

src/l/i/libphilo-HEAD/python/philologic/Query.py   libphilo(Download)
    else:
        hl.close()
        return HitList.HitList(filename,words_per_hit,db)
 
def format_query(qstring):

src/l/i/libphilo-HEAD/python/philologic/MetadataQuery.py   libphilo(Download)
    flag.write("1")
    flag.close()
    return HitList.HitList(filename,0,db)
 
if __name__ == "__main__":