Class WNdiagnostics

java.lang.Object
com.articulate.sigma.wordNet.WNdiagnostics

public class WNdiagnostics extends Object
A class that finds problems in WordNet to KB mappings. It is not meant to be instantiated.
  • Constructor Details

    • WNdiagnostics

      public WNdiagnostics()
  • Method Details

    • synsetsWithoutTerms

      public static List<String> synsetsWithoutTerms()
      Returns:
      an ArrayList of Strings which are WordNet synsets that don't have a corresponding term in the knowledge base
    • nonRelationTermsWithoutSynsets

      public static ArrayList<String> nonRelationTermsWithoutSynsets()
      Returns:
      an ArrayList of Strings which are terms that don't have a corresponding synset
    • synsetsWithoutFoundTerms

      public static List<String> synsetsWithoutFoundTerms(KB kb)
      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

      public static ArrayList<String> nonMatchingTaxonomy(String kbName, String language)
      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

      public static String countMappings()
      Create an HTML-formatted table that counts WordNet-SUMO mapping types.
    • main

      public static void main(String[] args)
      A main method, used only for testing. It should not be called during normal operation.