	public void run() throws SQLException {
		WikiConnect wiki = new WikiConnect();
		List<Sentence> sentences = wiki.getFile(this.docID);
		AbstractEntityExtractor extractor = new EntityExtractor();
		List<EntityMention> mentions = extractor.extract(sentences);
		AbstractSearcher searcher = new BasicSearcher();
		for (EntityMention mention : mentions) {
			searcher.GetCandidateEntities(mention);
		}
		AbstractDisambiguator disambiguator = new SimpleDisambiguator();
		disambiguator.disambiguate(mentions);
	}

	public void run() throws SQLException {
		SentenceConnect docs = new SentenceConnect();
		List<Sentence> sentences = docs.getDocument(this.docID);
		AbstractEntityExtractor extractor = new EntityExtractor();
		List<EntityMention> mentions = extractor.extract(sentences);
		AbstractSearcher searcher = new BasicSearcher();
		for (EntityMention mention : mentions) {
			searcher.GetCandidateEntities(mention);
		}
		AbstractDisambiguator disambiguator = new SimpleDisambiguator();
		disambiguator.disambiguate(mentions);
	}
