comirva.web.ie.countryoforigin
Class CountryOfOriginDeterminer_TextDistance

java.lang.Object
  extended by comirva.web.ie.countryoforigin.CountryOfOriginDeterminer_TextDistance

public class CountryOfOriginDeterminer_TextDistance
extends Object

Wertet mittels Lucene erzeugten Index aus.


Field Summary
protected static ArrayList<String> allCountries
           
protected static ArrayList<String> artists
           
protected static BufferedWriter BW
           
protected static ArrayList<String> countries
           
protected static HashMap<String,Float> keyCountryAvgDistance
           
protected static HashMap<String,Float> keyCountryMinDistance
           
protected static HashMap<String,Float> keyCountrySumDistance
           
protected static File TERMS_FILE
           
static boolean USE_SYNONYMS
           
 
Constructor Summary
CountryOfOriginDeterminer_TextDistance()
           
 
Method Summary
static String escapeSpecialChars(String s)
           
static void main(String[] args)
           
 void run()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

USE_SYNONYMS

public static boolean USE_SYNONYMS

TERMS_FILE

protected static final File TERMS_FILE

BW

protected static BufferedWriter BW

artists

protected static ArrayList<String> artists

countries

protected static ArrayList<String> countries

allCountries

protected static ArrayList<String> allCountries

keyCountrySumDistance

protected static HashMap<String,Float> keyCountrySumDistance

keyCountryAvgDistance

protected static HashMap<String,Float> keyCountryAvgDistance

keyCountryMinDistance

protected static HashMap<String,Float> keyCountryMinDistance
Constructor Detail

CountryOfOriginDeterminer_TextDistance

public CountryOfOriginDeterminer_TextDistance()
Method Detail

run

public void run()

escapeSpecialChars

public static String escapeSpecialChars(String s)

main

public static void main(String[] args)
                 throws Exception
Throws:
Exception