public class FillerText
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
class |
FillerText.LexicalQuery
Place holder for a lexical (part of speech) query in the filler text.
|
class |
FillerText.Punctuation
Place holder for punctuation within the filler text.
|
Constructor and Description |
---|
FillerText(WordStorageConnectivity conn) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
asString()
Creates a human-readable string representation of this filler text.
|
void |
autoCompleteAllQueries()
Automatically completes (fills-in) all lexical queries in the filler text.
|
void |
autoCompleteQuery(int j)
Automatically completes (fills-in) the indicated lexical query.
|
void |
changeQueryPartOfSpeech(int j,
java.lang.String pos)
Modifies the indicated lexical query.
|
void |
convertToQuery(int j)
Converts the indicated word in the filler text to a lexical query of the same time.
|
static java.lang.String |
ewDijkstra()
Famous quote by scientist E.W.
|
void |
importFromString(java.lang.String in)
Converts any given string into filler text.
|
static java.lang.String |
jabberwocky()
Famous nonsense filler text taken from Lewis Carroll's "Through the Looking-Glass, and What Alice Found There".
|
static java.lang.String |
jorgeBorges()
Famous quote by author Jorge Luis Borges.
|
static java.lang.String |
loremIpsum()
Famous nonsense filler text from Cicero's "De finibus bonorum et malorum".
|
static java.lang.String |
nowIsTheTime()
Famous typing exercise quote.
|
static java.lang.String |
ohFreddledGruntbuggly()
Famous nonsense filler text from "Hitchikers Guide to the Galaxy" by Douglas Adams.
|
java.util.Vector |
queryPartOfSpeech(java.lang.String word)
Returns a list of all the parts of speech to which this word belongs.
|
static java.lang.String |
robertCringely()
Famous quote by scientist Robert Cringely.
|
void |
show()
Shows a human-readable string representation of this filler text.
|
static java.lang.String |
theQuickBrownFox()
Famous typing exercise quote.
|
public FillerText(WordStorageConnectivity conn)
public void autoCompleteAllQueries()
public void autoCompleteQuery(int j)
public void changeQueryPartOfSpeech(int j, java.lang.String pos)
public java.util.Vector queryPartOfSpeech(java.lang.String word)
public void convertToQuery(int j)
public void importFromString(java.lang.String in)
public void show()
public java.lang.String asString()
public static java.lang.String jorgeBorges()
public static java.lang.String ewDijkstra()
public static java.lang.String robertCringely()
public static java.lang.String nowIsTheTime()
public static java.lang.String theQuickBrownFox()
public static java.lang.String loremIpsum()
public static java.lang.String ohFreddledGruntbuggly()
public static java.lang.String jabberwocky()
Copyright © 2011, 2013. Daniel P. Dougherty