|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use JokeStructure | |
---|---|
standup.clouds | This package provides the implementation for the STANDUP user interface. |
standup.joke | This package provides joke generation functionality and all its related data structures. |
Uses of JokeStructure in standup.clouds |
---|
Fields in standup.clouds declared as JokeStructure | |
---|---|
private JokeStructure |
CloudButtonAddToFavourites.favourite
|
private JokeStructure |
CloudButtonNewJokeWord.generatedJoke
|
private JokeStructure |
CloudButtonNewJokeType.generatedJoke
|
private JokeStructure |
CloudButtonNewJokeTopic.generatedJoke
|
private JokeStructure |
CloudButtonNewJokeLexeme.generatedJoke
|
private JokeStructure |
CloudButtonNewJokeAny.generatedJoke
|
(package private) JokeStructure |
CloudButtonNewJoke.joke
|
(package private) JokeStructure[] |
CloudButtonOldJoke.jokes
|
Methods in standup.clouds that return JokeStructure | |
---|---|
(package private) JokeStructure |
CloudButtonNewJokeWord.getJokeStructure()
|
(package private) JokeStructure |
CloudButtonNewJokeType.getJokeStructure()
|
(package private) JokeStructure |
CloudButtonNewJokeTopic.getJokeStructure()
|
(package private) JokeStructure |
CloudButtonNewJokeLexeme.getJokeStructure()
|
(package private) JokeStructure |
CloudButtonNewJokeAny.getJokeStructure()
|
(package private) abstract JokeStructure |
CloudButtonNewJoke.getJokeStructure()
|
Constructors in standup.clouds with parameters of type JokeStructure | |
---|---|
CloudButtonAddToFavourites(CloudFrontend f,
CloudButton p,
JokeStructure fave)
|
|
CloudButtonOldJoke(CloudFrontend f,
CloudButton p,
CloudLabel bl,
CloudLabel help,
JokeStructure[] j,
int i,
CloudButtonOldJoke.OldJokeStatus ojs)
Constructor for displaying an existing joke -- presumably within a collection |
|
CloudButtonTellJoke(CloudFrontend f,
CloudButton p,
JokeStructure j)
|
|
CloudLabel(JokeStructure joke,
CloudLabelJokeDisplay jd,
SymbolType[] _st)
BubbleLabel for a JokeStructure. |
|
CloudLabel(JokeStructure joke,
SymbolType[] _st)
Default BubbleLabel for a JokeStructure, which just shows the question. |
Uses of JokeStructure in standup.joke |
---|
Fields in standup.joke with type parameters of type JokeStructure | |
---|---|
private Set<JokeStructure> |
JokeSet.jokes
This Set contains the jokes themselves. |
Methods in standup.joke that return JokeStructure | |
---|---|
JokeStructure |
Generator.generateJoke(String newJokeID,
JokeConstraints constraints)
Generates a new JokeStructure that satisfies the
constraints arguments, with the ID specified by
newJokeID . |
private JokeStructure |
Generator.generateJokeStructure(String newJokeID,
Schema schema,
List<Keyword> lex,
List<String> templatesQuestion,
List<String> templatesAnswer,
double phonSimValue,
JokeConstraints constraints)
This is the core algorithm which instantiates a schema's lexical preconditions with suitable lexemes, binds the output specification function clauses, builds the initial JokeGraph, and passes it on to surface generation. |
(package private) JokeStructure |
BackendSQL.generateNewJoke(String newJokeID,
JokeConstraints jcs)
Generates a new one that satisfies the given JokeConstraints and
labels it with the given joke ID. |
(package private) JokeStructure |
BackendJokeSetSQL.generateNewJoke(String newJokeID,
JokeConstraints jcs)
Obtains a joke, either by generating a new one or retrieving an existing one from the joke cache, which satisfies the given JokeConstraints and labels it with the given joke ID. |
(package private) JokeStructure |
BackendJokeSetOnly.generateNewJoke(String newJokeID,
JokeConstraints jcs)
Retrieves a joke from the joke cache that satisfies the given JokeConstraints and labels it with the given joke ID. |
(package private) abstract JokeStructure |
Backend.generateNewJoke(String newJokeID,
JokeConstraints jcs)
Attempts to generate a new joke that satisfies the given JokeConstraints and labels it with the given joke ID. |
JokeStructure |
JokeSet.getJokeByID(String id)
Returns the JokeStructure contained in this JokeSet
specified by the given id argument, or null
if no such joke is found. |
JokeStructure |
Backend.getNewJoke()
Attempts to generate a new joke that satisfies the current user profile's constraints. |
JokeStructure |
Backend.getNewJoke(JokeConstraints jcs)
Tries to generate a new joke that satisfies the given JokeConstraints . |
JokeStructure |
Backend.getNewJoke(JokeType t)
Attempts to generate a new joke that satisfies the current user profile's constraints and is of the given JokeType . |
JokeStructure |
Backend.getNewJoke(Lexeme k)
Attempts to generate a new joke that satisfies the current user profile's constraints and uses the given Lexeme in its answer. |
JokeStructure |
Backend.getNewJoke(LexemeSet lxs)
Attempts to generate a new joke that satisfies the current user profile's constraints and uses at least one Lexeme from the given
LexemeSet in its answer. |
JokeStructure |
Backend.getNewJoke(Topic t)
Attempts to generate a new joke that satisfies the current user profile's constraints and uses at least one Lexeme 'about' the given
Topic in its answer. |
JokeStructure |
JokeSet.getRandom()
|
static JokeStructure |
JokeStructure.readXML(Element e)
|
JokeStructure |
JokeSet.removeRandom()
|
Methods in standup.joke that return types with arguments of type JokeStructure | |
---|---|
Set<JokeStructure> |
JokeSet.getJokesAsSet()
|
Methods in standup.joke with parameters of type JokeStructure | |
---|---|
boolean |
JokeSet.add(JokeStructure j)
================ ACCESSOR METHODS ================ |
void |
Backend.addToFavourites(JokeStructure j)
Adds the given JokeStructure to the current user's favourite
jokes collection. |
boolean |
JokeSet.contains(JokeStructure j)
Checks whether the given Joke j is contained within this JokeSet. |
void |
JokeSet.remove(JokeStructure j)
|
boolean |
JokeConstraintType.validate(JokeStructure j)
Returns true if the given joke is of the designated type, and
false otherwise. |
boolean |
JokeConstraints.validate(JokeStructure j)
This boolean function returns true whether existing JokeStructure j satisfies all the constraints in this JokeConstraints, and false otherwise. |
boolean |
JokeConstraintAllowedSchemas.validate(JokeStructure j)
|
boolean |
JokeConstraint.validate(JokeStructure j)
Returns true if the given JokeStructure satisfies this
constraint, and false if not. |
boolean |
InstantiationConstraintPhoneticSimilarity.validate(JokeStructure j)
|
boolean |
InstantiationConstraintNovelty.validate(JokeStructure j)
|
boolean |
InstantiationConstraintLexiconSchema.validate(JokeStructure j)
|
boolean |
InstantiationConstraintLexiconNone.validate(JokeStructure j)
|
boolean |
InstantiationConstraintLexiconClause.validate(JokeStructure j)
|
boolean |
InstantiationConstraintLexiconAllSchema.validate(JokeStructure j)
|
boolean |
InstantiationConstraintLexiconAllClause.validate(JokeStructure j)
|
boolean |
InstantiationConstraintLexiconAll.validate(JokeStructure j)
|
boolean |
InstantiationConstraintLexicon.validate(JokeStructure j)
|
boolean |
InstantiationConstraintLexemeSchema.validate(JokeStructure j)
|
boolean |
InstantiationConstraintLexemeClause.validate(JokeStructure j)
|
boolean |
InstantiationConstraintLexeme.validate(JokeStructure j)
|
boolean |
InstantiationConstraintFamiliarityScore.validate(JokeStructure j)
|
boolean |
InstantiationConstraintAmbiguity.validate(JokeStructure j)
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |