standup.sql
Class SQLAccessors

java.lang.Object
  extended by standup.sql.SQLAccessors

public class SQLAccessors
extends Object

A collection of static methods that are 'wrappers' to the accessor functions defined in the SQL lexical database.

These methods use cached java.sql.CallableStatements that should speed things up.

Author:
Ruli Manurung

Field Summary
private static CallableStatement cfAmbiguityCount
           
private static CallableStatement cfGetConceptByLexeme
           
private static CallableStatement cfGetFamiliarityScore
           
private static CallableStatement cfGetGlossByConcept
           
private static CallableStatement cfGetHead
           
private static CallableStatement cfGetModifier
           
private static CallableStatement cfGetOrthoByLexeme
           
private static CallableStatement cfGetOrthoByWordForm
           
private static CallableStatement cfGetPOS
           
private static CallableStatement cfGetPronunciationByLexeme
           
private static CallableStatement cfGetPronunciationByWordForm
           
private static CallableStatement cfGetSemcorFrequency
           
private static CallableStatement cfGetStresslessPronunciation
           
private static CallableStatement cfGetWordFormByLexeme
           
private static CallableStatement cfIsCompoundNoun
           
 
Constructor Summary
SQLAccessors()
           
 
Method Summary
static long getAmbiguityCount(String lexemeID)
           
static String getConceptByLexeme(String lexemeID)
           
static float getFamiliarityScore(String lexemeID)
           
static String getGlossByConcept(String conceptID)
           
static String getHead(String lexemeID)
           
static String getModifier(String lexemeID)
           
static String getOrthoByLexeme(String lexemeID)
           
static String getOrthoByWordForm(String wordFormID)
           
static String getPOS(String lexemeID)
           
static String getPronunciationByLexeme(String lexemeID)
           
static String getPronunciationByWordForm(String wordFormID)
           
static int getSemcorFrequency(String lexemeID)
           
static String getStresslessPronunciation(String pronunciation)
           
static String getWordFormByLexeme(String lexemeID)
           
static boolean isCompoundNoun(String lexemeID)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

cfGetOrthoByLexeme

private static CallableStatement cfGetOrthoByLexeme

cfGetOrthoByWordForm

private static CallableStatement cfGetOrthoByWordForm

cfGetWordFormByLexeme

private static CallableStatement cfGetWordFormByLexeme

cfGetPronunciationByLexeme

private static CallableStatement cfGetPronunciationByLexeme

cfGetPronunciationByWordForm

private static CallableStatement cfGetPronunciationByWordForm

cfGetStresslessPronunciation

private static CallableStatement cfGetStresslessPronunciation

cfGetGlossByConcept

private static CallableStatement cfGetGlossByConcept

cfGetConceptByLexeme

private static CallableStatement cfGetConceptByLexeme

cfAmbiguityCount

private static CallableStatement cfAmbiguityCount

cfGetSemcorFrequency

private static CallableStatement cfGetSemcorFrequency

cfGetFamiliarityScore

private static CallableStatement cfGetFamiliarityScore

cfGetHead

private static CallableStatement cfGetHead

cfGetModifier

private static CallableStatement cfGetModifier

cfGetPOS

private static CallableStatement cfGetPOS

cfIsCompoundNoun

private static CallableStatement cfIsCompoundNoun
Constructor Detail

SQLAccessors

public SQLAccessors()
Method Detail

getOrthoByLexeme

public static String getOrthoByLexeme(String lexemeID)

getOrthoByWordForm

public static String getOrthoByWordForm(String wordFormID)

getWordFormByLexeme

public static String getWordFormByLexeme(String lexemeID)

getPronunciationByLexeme

public static String getPronunciationByLexeme(String lexemeID)

getPronunciationByWordForm

public static String getPronunciationByWordForm(String wordFormID)

getStresslessPronunciation

public static String getStresslessPronunciation(String pronunciation)

getGlossByConcept

public static String getGlossByConcept(String conceptID)

getConceptByLexeme

public static String getConceptByLexeme(String lexemeID)

getAmbiguityCount

public static long getAmbiguityCount(String lexemeID)

getSemcorFrequency

public static int getSemcorFrequency(String lexemeID)

getFamiliarityScore

public static float getFamiliarityScore(String lexemeID)

getHead

public static String getHead(String lexemeID)

getModifier

public static String getModifier(String lexemeID)

getPOS

public static String getPOS(String lexemeID)

isCompoundNoun

public static boolean isCompoundNoun(String lexemeID)