public class LifeExpectancyProcessor extends Object implements EntityDocumentProcessor
Note that the computation of life expectancies based on the life spans of people who have died already has some systematic bias, since none of the sampled person is expected to die in the future.
Constructor and Description |
---|
LifeExpectancyProcessor() |
Modifier and Type | Method and Description |
---|---|
static void |
main(String[] args)
Main method.
|
static void |
printDocumentation()
Prints some basic documentation about this program.
|
void |
processItemDocument(ItemDocument itemDocument)
Processes the given ItemDocument.
|
void |
writeFinalResults()
Writes the results of the processing to a file.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
processEntityRedirectDocument, processLexemeDocument, processMediaInfoDocument, processPropertyDocument
public static void main(String[] args)
ExampleHelpers
.public void processItemDocument(ItemDocument itemDocument)
EntityDocumentProcessor
processItemDocument
in interface EntityDocumentProcessor
itemDocument
- the ItemDocumentpublic void writeFinalResults()
public static void printDocumentation()
Copyright © 2014–2024 Wikidata Toolkit Developers. Generated from source code published under the Apache License 2.0. For more information, see the Wikidata Toolkit homepage