Package com.articulate.sigma.wordNet
Class WNdiagnostics
java.lang.Object
com.articulate.sigma.wordNet.WNdiagnostics
A class that finds problems in WordNet to KB mappings. It is not meant
to be instantiated.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic StringCreate an HTML-formatted table that counts WordNet-SUMO mapping types.static voidA main method, used only for testing.nonMatchingTaxonomy(String kbName, String language)
-
Constructor Details
-
WNdiagnostics
public WNdiagnostics()
-
-
Method Details
-
synsetsWithoutTerms
- Returns:
- an ArrayList of Strings which are WordNet synsets that don't have a corresponding term in the knowledge base
-
nonRelationTermsWithoutSynsets
- Returns:
- an ArrayList of Strings which are terms that don't have a corresponding synset
-
synsetsWithoutFoundTerms
- Returns:
- an ArrayList of Strings which are WordNet synsets that have an identified term but that doesn't exist in the currently loaded knowledge base
-
nonMatchingTaxonomy
- Returns:
- an ArrayList of Strings which are HTML-formatted presentations of SUMO terms, and WordNet synsets and that don't have a matching taxonomic structure with their corresponding SUMO terms. Currently, this just examines nouns and needs to be expanded to examine verbs too.
-
countMappings
Create an HTML-formatted table that counts WordNet-SUMO mapping types. -
main
A main method, used only for testing. It should not be called during normal operation.
-