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

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

src/a/i/AINews-HEAD/CorpusExport.py   AINews(Download)
import re
from AINewsConfig import paths
from AINewsCorpus import AINewsCorpus
from AINewsCentroidClassifier import AINewsCentroidClassifier
 
aicorpus = AINewsCorpus()

src/a/i/AINews-HEAD/AINewsPublisher.py   AINews(Download)
from AINewsConfig import config, paths, blacklist_urls
from AINewsDB import AINewsDB
from AINewsCorpus import AINewsCorpus
from AINewsDuplicates import AINewsDuplicates
from AINewsTextProcessor import AINewsTextProcessor
        self.earliest_date = self.today - timedelta(days = int(config['ainews.period']))
        self.db = AINewsDB()
        self.corpus = AINewsCorpus()
        self.duplicates = AINewsDuplicates()
        self.txtpro = AINewsTextProcessor()

src/a/i/AINews-HEAD/AINewsDuplicates.py   AINews(Download)
 
from datetime import date, timedelta
from AINewsCorpus import AINewsCorpus
from AINewsConfig import config
 
    def __init__(self):
        self.corpus = AINewsCorpus()
 
    def filter_duplicates(self, articles):
        date_start = date.today() - timedelta(days = int(config['duplicates.days_back']))

src/a/i/AINews-HEAD/AINewsDupExperiment.py   AINews(Download)
from datetime import datetime
 
from AINewsCorpus import AINewsCorpus
from AINewsSummarizer import AINewsSummarizer
from AINewsConfig import paths
duplists += duplist_stored
 
corpus = AINewsCorpus()
summarizer = AINewsSummarizer()
 

src/a/i/AINews-HEAD/AINewsWekaClassifier.py   AINews(Download)
from os import listdir, remove
from subprocess import *
from AINewsCorpus import AINewsCorpus
from AINewsConfig import config, paths
from AINewsTextProcessor import AINewsTextProcessor