code: public static void main(String[] args) throws Exception {
          
          // Instantiate the CLAVIN GeoParser
          GeoParser parser = GeoParserFactory.getDefault("./IndexDirectory");
          
          // Unstructured text file about Somalia to be geoparsed
          File inputFile = new File("src/test/resources/sample-docs/Somalia-doc.txt");
          
          // Grab the contents of the text file as a String
          String inputString = TextUtils.fileToString(inputFile);
          
          // Parse location names in the text into geographic entities
          List<ResolvedLocation> resolvedLocations = parser.parse(inputString);
          
          // Display the ResolvedLocations found for the location names
          for (ResolvedLocation resolvedLocation : resolvedLocations)
              System.out.println(resolvedLocation);
          
          // And we're done...
          System.out.println("\n\"That's all folks!\"");
      }
docs: Run this after installing & configuring CLAVIN to get a sense of
  how to use it.
  
  @param args              not used
  @throws Exception