public class DbUninflection
extends java.lang.Object
History:
InflectionRecord
,
Desgin Document Constructor and Description |
---|
DbUninflection() |
Modifier and Type | Method and Description |
---|---|
static java.util.Vector<InflectionRecord> |
GetUninflections(java.lang.String inStr,
java.sql.Connection conn)
Get all uninflected terms from inflection records for a specified term
from LVG database.
|
static boolean |
IsExistUninflectedTerm(java.lang.String unTerm,
java.sql.Connection conn)
Check if a specified term is an uninflected term in LVG database
|
static void |
main(java.lang.String[] args)
Test driver for this class.
|
public static java.util.Vector<InflectionRecord> GetUninflections(java.lang.String inStr, java.sql.Connection conn) throws java.sql.SQLException
inStr
- term for finding uninflected term.conn
- database connectionjava.sql.SQLException
- if there is a database error happenspublic static boolean IsExistUninflectedTerm(java.lang.String unTerm, java.sql.Connection conn) throws java.sql.SQLException
unTerm
- a term to be checkedconn
- database connectionjava.sql.SQLException
- if there is a database error happenspublic static void main(java.lang.String[] args)
args
- arguments