public class LuceneDocument extends Object
Constructor and Description |
---|
LuceneDocument() |
Modifier and Type | Method and Description |
---|---|
List<Document> |
createDocuments(String corpusPersistenceID,
Document gateDoc,
String documentID,
List<String> annotSetsToInclude,
List<String> annotSetsToExclude,
List<String> featuresToInclude,
List<String> featuresToExclude,
String indexLocation,
String baseTokenAnnotationType,
Boolean createTokensAutomatically,
String indexUnitAnnotationType)
Given an instance of Gate Document, it converts it into the format that
lucene can understand and can store in its indexes.
|
public List<Document> createDocuments(String corpusPersistenceID, Document gateDoc, String documentID, List<String> annotSetsToInclude, List<String> annotSetsToExclude, List<String> featuresToInclude, List<String> featuresToExclude, String indexLocation, String baseTokenAnnotationType, Boolean createTokensAutomatically, String indexUnitAnnotationType)
Copyright © 2024 GATE. All rights reserved.