当前位置: 首页>>代码示例>>Java>>正文


Java Progress.ENTITIES属性代码示例

本文整理汇总了Java中org.apache.uima.util.Progress.ENTITIES属性的典型用法代码示例。如果您正苦于以下问题:Java Progress.ENTITIES属性的具体用法?Java Progress.ENTITIES怎么用?Java Progress.ENTITIES使用的例子?那么恭喜您, 这里精选的属性代码示例或许可以为您提供帮助。您也可以进一步了解该属性所在org.apache.uima.util.Progress的用法示例。


在下文中一共展示了Progress.ENTITIES属性的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。

示例1: getProgress

public Progress[] getProgress() {
	return new Progress[] {
			new ProgressImpl(
					Long.valueOf(currentRecord).intValue(),
					Long.valueOf(totalRecords).intValue(),
					Progress.ENTITIES
					)
	};
}
 
开发者ID:tudarmstadt-lt,项目名称:newsleak-frontend,代码行数:9,代码来源:NewsleakCsvStreamReader.java

示例2: getProgress

public Progress[] getProgress() {
	return new Progress[] {
			new ProgressImpl(
					Long.valueOf(currentRecord).intValue() - 1,
					Long.valueOf(totalRecords).intValue(),
					Progress.ENTITIES
					)
	};
}
 
开发者ID:tudarmstadt-lt,项目名称:newsleak-frontend,代码行数:9,代码来源:HooverElasticsearchReader.java

示例3: getProgress

@Override
public Progress[] getProgress() {
	if (disableProgressTracking) {
		documentsToBeProcessedCount = processedDocumentCount + 1;
	}
	return new Progress[] { new ProgressImpl(processedDocumentCount, documentsToBeProcessedCount, Progress.ENTITIES) };
}
 
开发者ID:UCDenver-ccp,项目名称:ccp-nlp,代码行数:7,代码来源:BaseTextCollectionReader.java

示例4: getProgress

/**
 * {@inheritDoc}
 */
@Override
public Progress[] getProgress() {
    return new Progress[]{
            new ProgressImpl(lastReadFileIdx + 1, files.size(), Progress.ENTITIES)
    };
}
 
开发者ID:textocat,项目名称:textokit-core,代码行数:9,代码来源:FileDirectoryCollectionReader.java

示例5: getProgress

/**
 * {@inheritDoc}
 */
@Override
public Progress[] getProgress() {
    return new Progress[]{
            new ProgressImpl(consumedCount, expectedTotalCount, Progress.ENTITIES)
    };
}
 
开发者ID:textocat,项目名称:textokit-core,代码行数:9,代码来源:JdbcCollectionReader.java

示例6: getProgress

@Override
public Progress[] getProgress() {
    int filesRead = lastReadFileIndex + 1;
    return new Progress[]{
            new ProgressImpl(filesRead, inputFiles.size(), Progress.ENTITIES)
    };
}
 
开发者ID:textocat,项目名称:textokit-core,代码行数:7,代码来源:RusCorporaCollectionReader.java

示例7: getProgress

/**
 *
 * @return an array of Progress objects. Each object may have different units (for example number of entities or bytes).
 */
@Override
public Progress[] getProgress() {
    return new Progress[]{new ProgressImpl(getCurrentIndex(),
            getCollectionSize(),
            Progress.ENTITIES)};
}
 
开发者ID:department-of-veterans-affairs,项目名称:Leo,代码行数:10,代码来源:BaseFileCollectionReader.java

示例8: getProgress

public Progress[] getProgress() {
    int total = resourcesNum == null ? -1 : resourcesNum;
    return new Progress[]{new ProgressImpl(resourcesRead, total, Progress.ENTITIES)};
}
 
开发者ID:textocat,项目名称:textokit-core,代码行数:4,代码来源:XmiCollectionReaderBase.java

示例9: getProgress

@Override
public Progress[] getProgress() {
    return new Progress[]{
            new ProgressImpl(docsRead, totalDocsNum, Progress.ENTITIES)
    };
}
 
开发者ID:textocat,项目名称:textokit-core,代码行数:6,代码来源:BratCollectionReader.java

示例10: getProgress

@Override
public Progress[] getProgress() {
  return new Progress[] { new ProgressImpl(this.uriIndex, this.uris.size(), Progress.ENTITIES) };
}
 
开发者ID:ClearTK,项目名称:cleartk,代码行数:4,代码来源:TempEval2010CollectionReader.java

示例11: getProgress

@Override
public Progress[] getProgress() {
	return new Progress[]{
		     new ProgressImpl(mCurrentIndex,mFiles.size(),Progress.ENTITIES)};
}
 
开发者ID:termsuite,项目名称:termsuite-core,代码行数:5,代码来源:AbstractTermSuiteCollectionReader.java

示例12: doGetProgress

@Override
public Progress[] doGetProgress() {
	return new Progress[] { new ProgressImpl(DOCUMENT_COUNT - documents.size(), DOCUMENT_COUNT, Progress.ENTITIES) };
}
 
开发者ID:dstl,项目名称:baleen,代码行数:4,代码来源:DummyBaleenCollectionReader.java

示例13: getProgress

@Override
public Progress[] getProgress() {
	return new Progress[] { new ProgressImpl(DOCUMENT_COUNT - documents.size(), DOCUMENT_COUNT, Progress.ENTITIES) };
}
 
开发者ID:dstl,项目名称:baleen,代码行数:4,代码来源:DummyCollectionReader.java

示例14: getProgress

/**
 * @see org.apache.uima.collection.base_cpm.BaseCollectionReader#getProgress()
 */
public Progress[] getProgress() {
	return new Progress[] { new ProgressImpl(currentIndex, mFiles.size(), Progress.ENTITIES) };
}
 
开发者ID:HeidelTime,项目名称:heideltime,代码行数:6,代码来源:ACETernReader.java

示例15: getProgress

public Progress[] getProgress() {
	return new Progress[] { new ProgressImpl(numberOfDocuments-files.size(), numberOfDocuments , Progress.ENTITIES) };
}
 
开发者ID:HeidelTime,项目名称:heideltime,代码行数:3,代码来源:Tempeval3Reader.java


注:本文中的org.apache.uima.util.Progress.ENTITIES属性示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。