org.apache.ctakes.relationextractor.data
Class Stats
java.lang.Object
org.apache.ctakes.relationextractor.data.Stats
public class Stats
- extends Object
Calculate relation frequencies in a data set that consists of XML files exported from Knowtator.
- Author:
- dmitriy dligach
Constructor Summary |
Stats()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
readOnlySharpRelations
public static final boolean readOnlySharpRelations
- See Also:
- Constant Field Values
Stats
public Stats()
getEntityStats
public static void getEntityStats(String inputDir)
throws org.jdom.JDOMException,
IOException
- Throws:
org.jdom.JDOMException
IOException
getRelationStats
public static void getRelationStats(String inputDir)
throws org.jdom.JDOMException,
IOException
- Throws:
org.jdom.JDOMException
IOException
reportStats
public static void reportStats(HashMap<String,Integer> counts,
int totalCount)
main
public static void main(String[] args)
throws org.jdom.JDOMException,
IOException
- Throws:
org.jdom.JDOMException
IOException
Copyright © 2012-2013 The Apache Software Foundation. All Rights Reserved.