TC Java
2009 Version

gov.nih.nlm.nls.tc.Db
Class DbWordJdScores

java.lang.Object
  extended by gov.nih.nlm.nls.tc.Db.DbWordJdScores

public class DbWordJdScores
extends java.lang.Object

This class provides high level interfaces to get Word-Jd scores from WORD_JD_SCORES table in TC database.

History:

Version:
V-2009
Author:
NLM Lexical Systems Group

Constructor Summary
DbWordJdScores()
           
 
Method Summary
static java.util.Vector<Count2f> GetScoresByWord(java.lang.String word, java.sql.Connection conn)
          Get JD socres in WC and DC from database WORD_JD_SCORES tables by specifying word and db connection.
static void main(java.lang.String[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DbWordJdScores

public DbWordJdScores()
Method Detail

GetScoresByWord

public static java.util.Vector<Count2f> GetScoresByWord(java.lang.String word,
                                                        java.sql.Connection conn)
                                                 throws java.sql.SQLException
Get JD socres in WC and DC from database WORD_JD_SCORES tables by specifying word and db connection.

Parameters:
word - word of interested
conn - database connection
Returns:
a collection of JD scores in Count2f (WC and DC) for the specified word
Throws:
sql - exception if caught in sql query
java.sql.SQLException

main

public static void main(java.lang.String[] args)

TC Java
2009 Version

Submit a bug or feature

Copyright © 2009 National Library of Medicine