public class WikiDumpReader extends Object implements AutoCloseable
コンストラクタと説明 |
---|
WikiDumpReader(File dumpFile,
File indexFile) |
public WikiDumpReader(File dumpFile, File indexFile) throws IOException
dumpFile
- Wiki dump file (bz2)indexFile
- Wiki index file (bz2)IOException
- on Error File Not foundpublic void close()
close
インタフェース内 AutoCloseable
public WikiPage getItem(String itemString) throws IOException
itemString
- Dictionary EntryIOException
- on Errorpublic WikiIndex getWikiIndex()
Copyright © 2021 nlp4j.org. All rights reserved.