Overview
Package
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
A
B
C
D
E
F
G
H
I
J
L
M
N
O
P
R
S
T
U
V
W
Y
A
add(Collection<Hypothesis>)
- Static method in class sofie.maxsat.
HypothesisStore
Adds a set of hypotheses to the hypothesis store
addMeasures(int, int, boolean, double)
- Method in class sofie.maxsat.
Measures
Adds the effect of a grounded rule
addRelatedHypotheses(Collection<Hypothesis>)
- Method in class sofie.maxsat.
Measures
Registers free hypotheses that appear together with this hypothesis in a rule
addRelatedHypothesis(Hypothesis)
- Method in class sofie.maxsat.
Measures
Registers a free hypothesis that appears together with this hypothesis in a rule
addReplacement(List<Token>, Token, Map<Token, Token>)
- Method in class sofie.parsing.
Tokenizer.PatternRunner
Adds this runner's token to the list of tokens.
allIds
- Static variable in class sofie.maxsat.
Rule
Counts all existing rules
arg(int)
- Method in class sofie.maxsat.
Hypothesis
Returns the i-th argument (0-based)
asBoolean()
- Method in enum sofie.maxsat.
Hypothesis.Truth
autodetectTokenize(File)
- Static method in class sofie.parsing.
Tokenizer
Tokenizes a file
B
basics
- package basics
BATCHSIZE
- Static variable in class sofie.maxsat.
Config
Batch size
beatsForPosition(Tokenizer.PatternRunner, int)
- Method in class sofie.parsing.
Tokenizer.PatternRunner
Tells whether this pattern runner can find a better pattern for this position than the previousBest.
bindingsToMatch(Hypothesis, Map<String, String>)
- Method in class sofie.maxsat.
Literal
Returns the bindings of variables of this literal that are necessary to match this literal to f.
C
canonicalizeKnownWord(Token)
- Static method in class sofie.parsing.
Tokenizer
Returns a token for a predefined word
CATEGORY
- Static variable in class sofie.parsing.
Token
A Wikipedia category
close()
- Static method in class sofie.maxsat.
Config
Closes the database
close()
- Method in class sofie.parsing.
Parser
closedWorldIterator(PeekIterator<Hypothesis>)
- Method in class sofie.maxsat.
Literal
Helper routine for ground().
collectWordsFromTokens(List<Token>)
- Static method in class sofie.parsing.
Parser
Collects all words in the current document
commonWords
- Static variable in class sofie.parsing.
Parser
Contains all words from WordNet
compareTo(Hypothesis)
- Method in class sofie.maxsat.
Hypothesis
Standard compareTo
compareTo(Token)
- Method in class sofie.parsing.
Token
Compares by name and type
component(int)
- Method in class sofie.maxsat.
Hypothesis
Returns the i-th component (0-based)
components
- Variable in class sofie.maxsat.
Hypothesis
Holds the relation followed by the arguments
components()
- Method in class sofie.maxsat.
Hypothesis
Returns the components
computeMeasures(Hypothesis)
- Static method in class sofie.maxsat.
HypothesisStore
Computes the measures for a hypothesis
Config
- Class in
sofie.maxsat
Class Configuration This class is part of the SOFIE system (http://mpii.de/yago-naga/sofie).
Config()
- Constructor for class sofie.maxsat.
Config
containsPolysem()
- Method in class sofie.maxsat.
Hypothesis
TRUE is any component is a polysem
D
database
- Static variable in class sofie.maxsat.
Config
Points to the database
delimitPOC
- Static variable in class sofie.maxsat.
Config
Additional constraint to consider only patternoccurrences < MAXNUMPATOC
description
- Variable in class sofie.maxsat.
Rule
Holds a description
determinedTruthValue()
- Method in class sofie.maxsat.
Measures
Deterministic truth value (if isDetermined)
disambiguate(Token)
- Method in class sofie.parsing.
Parser
Determines whether the token is ambigous, unambiguos or void.
disambiguateAs(String)
- Method in class sofie.parsing.
Token.CommonIndividual
Marks this token as disambiguated
DISAMBIGUATEDAS
- Static variable in class sofie.maxsat.
Hypothesis
Special Relation: disambiguatedAs(wordInContext,entity)
DISAMBIGUATIONPRIOR
- Static variable in class sofie.maxsat.
Hypothesis
Special Relation: disambiguationPrior(wordInContext,entity)
disambiguationPriorWrapper
- Static variable in class sofie.maxsat.
Literal
Converts a hypothesis line
to a Fact object
DOMAIN
- Static variable in class sofie.parsing.
Parser
Constant for interestingTypes()
E
end
- Variable in class sofie.parsing.
Token.StartCommentToken
String that ends the comment
equals(Object)
- Method in class sofie.maxsat.
Hypothesis
equals(Object)
- Method in class sofie.maxsat.
Rule
equals(Object)
- Method in class sofie.parsing.
Token
F
FALSE
- Static variable in class sofie.maxsat.
Measures
Index in arrays
findPatterns(List<Token>)
- Method in class sofie.parsing.
Parser
Finds and stores the patterns from a list of tokens
FLAGSET
- Static variable in class sofie.maxsat.
Hypothesis
Special Relation: flagSet(flagName)
FMSStar
- Class in
sofie.maxsat
Class HypothesisGenerator This class is part of the SOFIE system (http://mpii.de/yago-naga/sofie).
FMSStar()
- Constructor for class sofie.maxsat.
FMSStar
forFile(File)
- Static method in class sofie.parsing.
Tokenizer
Returns a tokenizer for a file
G
generateDisambiguationPrior(Token, Set<String>)
- Method in class sofie.parsing.
Parser
Generates the disambiguation prior and stores it in the database
generateHypotheses()
- Static method in class sofie.maxsat.
HypothesisStore
Generate hypotheses, return TRUE if any
getHypothesisToSet()
- Static method in class sofie.maxsat.
HypothesisStore
Returns the hypothesis that is not set and has highest priority (or null).
ground()
- Method in class sofie.maxsat.
Literal
Returns a set of grounded hypotheses for the literal.
ground(List<Literal>, int, double, Map<String, String>, Literal, Measures, List<Hypothesis>)
- Method in class sofie.maxsat.
Rule
Helper for groundedrules(), fills a list of grounded rules
groundPriority(Collection<String>)
- Method in class sofie.maxsat.
Literal
Returns how good it would be to ground this literal with the current known variables
H
hashCode()
- Method in class sofie.maxsat.
Hypothesis
hashCode()
- Method in class sofie.maxsat.
Rule
hashCode()
- Method in class sofie.parsing.
Token
hasInstances
- Variable in class sofie.maxsat.
Literal
TRUE if this literal has instances
hasInstances()
- Method in class sofie.maxsat.
Literal
TRUE for a literal that has instances
hasVariable()
- Method in class sofie.maxsat.
Literal
TRUE if the literal contains a variable
hasVirtualRelation()
- Method in class sofie.maxsat.
Hypothesis
TRUE if the relation is virtual
heuristicTruthValue()
- Method in class sofie.maxsat.
Measures
Heuristic truth value
HTMLCOMMENT
- Static variable in class sofie.parsing.
Token
HTML comment start
htmlPatternRunners
- Static variable in class sofie.parsing.
Tokenizer.HTMLTokenizer
HTML-specific patterns
hypotheses
- Static variable in class sofie.maxsat.
HypothesisStore
Holds the hypotheses
hypotheses()
- Static method in class sofie.maxsat.
HypothesisStore
Returns the set of hypotheses
Hypothesis
- Class in
sofie.maxsat
Class Hypothesis This class is part of the SOFIE system (http://mpii.de/yago-naga/sofie).
Hypothesis(Hypothesis)
- Constructor for class sofie.maxsat.
Hypothesis
Copies a hypothesis
Hypothesis(double, List<String>)
- Constructor for class sofie.maxsat.
Hypothesis
Constructs a fact
Hypothesis(double, String...)
- Constructor for class sofie.maxsat.
Hypothesis
Constructs a fact
Hypothesis(double, Relation, String...)
- Constructor for class sofie.maxsat.
Hypothesis
Constructs a fact
Hypothesis(boolean, Relation, String...)
- Constructor for class sofie.maxsat.
Hypothesis
Constructs a fact
Hypothesis(boolean, String...)
- Constructor for class sofie.maxsat.
Hypothesis
Constructs a fact
Hypothesis(String...)
- Constructor for class sofie.maxsat.
Hypothesis
Constructs a fact
Hypothesis(boolean, List<String>)
- Constructor for class sofie.maxsat.
Hypothesis
Constructs a fact
Hypothesis.Truth
- Enum in
sofie.maxsat
3-valued Truth values
HypothesisStore
- Class in
sofie.maxsat
Class HypothesisStore This class is part of the SOFIE system (http://mpii.de/yago-naga/sofie).
HypothesisStore()
- Constructor for class sofie.maxsat.
HypothesisStore
I
id
- Variable in class sofie.maxsat.
Rule
Holds the id of the current rule
IGNORE
- Static variable in class sofie.parsing.
Token
Token that can be ignored
indexOf(Literal)
- Method in class sofie.maxsat.
Rule
Returns the index of the literal (for some instantiuation of the variables)
INFOBOXBAR
- Static variable in class sofie.parsing.
Token
A new line of a Wikipedia infobox
INFOBOXHEAD
- Static variable in class sofie.parsing.
Token
Head of a Wikipedia infobox.
infoboxKiller
- Static variable in class sofie.parsing.
Tokenizer.WikiTokenizer
A pattern runner that eliminates all infoboxes
infoboxSaver
- Static variable in class sofie.parsing.
Tokenizer.WikiTokenizer
A pattern runner that eliminates everything except infoboxes
init(File)
- Static method in class sofie.maxsat.
Config
Initializes the variables
instances()
- Method in class sofie.maxsat.
Literal
Loads all instantiations of this literal from the database
interestingTypes(Token, int)
- Static method in class sofie.parsing.
Parser
Checks whether the pair of entities is interesting.
isCommonword(String)
- Static method in class sofie.parsing.
Parser
Returns words
isDetermined()
- Method in class sofie.maxsat.
Measures
TRUE if the truth value of the hypothesis is determined by DUC propagation
isEntity(String)
- Static method in class sofie.maxsat.
Hypothesis
True if a string is not null and starts not with a '^'
isFree()
- Method in class sofie.maxsat.
Literal
TRUE for free literals
isGenerating
- Static variable in class sofie.maxsat.
HypothesisStore
A flag that stores whether we are in generation mode
isInteresting()
- Method in class sofie.parsing.
Token.Date
isInteresting()
- Method in class sofie.parsing.
Token
Tells whether the token shall be considered as a possible entity
isInteresting()
- Method in class sofie.parsing.
Token.Number
isInteresting()
- Method in class sofie.parsing.
Token.ProperName
isMultiWord()
- Method in class sofie.parsing.
Token
TRUE for words containing '_' or ' '
isPolysem(String)
- Static method in class sofie.maxsat.
Hypothesis
True if a string starts with a '^'
isPronoun(String)
- Method in class sofie.parsing.
Parser
Tells whether a word is a pronoun
isRelationToLearn(String)
- Static method in class sofie.maxsat.
Config
TRUE for relations to learn
isRelationToLearn(Relation)
- Static method in class sofie.maxsat.
Config
TRUE for relations to learn
isString(String)
- Static method in class sofie.maxsat.
Hypothesis
True if a string is not null and starts with a '"'
isUnhappyWith(Hypothesis)
- Method in class sofie.maxsat.
Literal
TRUE if the literal is unhappy with this hypothesis
isVariable(String)
- Static method in class sofie.maxsat.
Hypothesis
True if a string starts with a '?'
J
javatools
- package javatools
johnson
- Variable in class sofie.maxsat.
Measures
Johnsons Measures (for debugging)
johnsonsTruthValue()
- Method in class sofie.maxsat.
Measures
What Johnson would say (for debugging purposes)
L
Literal
- Class in
sofie.maxsat
Class Literal This class is part of the SOFIE system (http://mpii.de/yago-naga/sofie).
Literal(boolean, List<String>)
- Constructor for class sofie.maxsat.
Literal
Constructs a literal
Literal(boolean, String...)
- Constructor for class sofie.maxsat.
Literal
Constructs a literal
Literal(boolean, Relation, String...)
- Constructor for class sofie.maxsat.
Literal
Constructs a literal
literal(int)
- Method in class sofie.maxsat.
Rule
Returns the ith literal
literals
- Variable in class sofie.maxsat.
Rule
Holds the literals
load(File)
- Method in class sofie.parsing.
Tokenizer.HTMLTokenizer
Loads the file, decodes UTF8
load(File)
- Method in class sofie.parsing.
Tokenizer
Loads the file into memory
load(File)
- Method in class sofie.parsing.
Tokenizer.WikiTokenizer
Loads the file, decodes UTF8
loadFrom(File)
- Static method in class sofie.maxsat.
Rule
Returns the rules defined in that file
loadWordNet(File)
- Static method in class sofie.parsing.
Parser
Loads the words of WordNet
M
main(String[])
- Static method in class sofie.maxsat.
Config
Test
main(String[])
- Static method in class sofie.maxsat.
FMSStar
Recomputes all facts
main(String[])
- Static method in class sofie.maxsat.
HypothesisStore
Test method
main(String[])
- Static method in class sofie.maxsat.
Literal
Test method
main(String[])
- Static method in class sofie.maxsat.
Rule
Test
main(String[])
- Static method in class sofie.parsing.
Parser
Finds patterns in a file
main(String[])
- Static method in class sofie.parsing.
Tokenizer
Test
makePolysem(int)
- Method in class sofie.parsing.
Token.CommonIndividual
Marks this token as polysemous
makeVoid()
- Method in class sofie.parsing.
Token.CommonIndividual
Marks this token as meaningless
matcher
- Variable in class sofie.parsing.
Tokenizer.PatternRunner
Matcher if running on a specific charsequence (NULL if pattern could not be found anymore)
matches(Hypothesis)
- Method in class sofie.maxsat.
Literal
Returns the bindings of variables of this literal that are necessary to match this literal to f.
matchingUnhappyHypotheses(Literal)
- Static method in class sofie.maxsat.
HypothesisStore
Returns hypotheses that match a literal and that are unsatisfied or unknown.
maxPatternOccurrenceId
- Static variable in class sofie.maxsat.
Config
Maximum ID to consider among the pattern occurrences (or -1)
means(String, String, String)
- Method in class sofie.parsing.
Parser
Returns the string "table.relation='means' AND table.arg1=...
Measures
- Class in
sofie.maxsat
Class HypothesisWithMeasures This class is part of the SOFIE system (http://mpii.de/yago-naga/sofie).
Measures()
- Constructor for class sofie.maxsat.
Measures
minPatternOccurrenceId
- Static variable in class sofie.maxsat.
Config
Minimum ID to consider among the pattern occurrences (or -1)
N
nameOfEntity(String)
- Method in class sofie.parsing.
Parser
Returns a normal word for a Yago identifier
nameType
- Variable in class sofie.parsing.
Token.CommonIndividual
Type of the token
nameType()
- Method in class sofie.parsing.
Token.CommonIndividual
Returns the type
newPosition()
- Method in class sofie.parsing.
Tokenizer.PatternRunner
Returns the position after the match
nonUnitWeight
- Variable in class sofie.maxsat.
Measures
Non-unit rules
normalize(String)
- Static method in class sofie.maxsat.
Literal
Normalizes an identifier
normalizeRelationToLearn(String)
- Static method in class sofie.maxsat.
Config
Normalizes a relation to learn
numArgs()
- Method in class sofie.maxsat.
Hypothesis
Returns the number of arguments
numComponents()
- Method in class sofie.maxsat.
Hypothesis
Returns the number of components
numFreeLiterals
- Variable in class sofie.maxsat.
Rule
Holds the number of free literals
numHypotheses()
- Static method in class sofie.maxsat.
HypothesisStore
Returns number of hypotheses
numLiterals()
- Method in class sofie.maxsat.
Rule
O
of(boolean)
- Static method in enum sofie.maxsat.
Hypothesis.Truth
of(double)
- Static method in enum sofie.maxsat.
Hypothesis.Truth
ontologicalContext(String)
- Method in class sofie.parsing.
Parser
Returns the context of an entity from the database
original
- Variable in class sofie.parsing.
Token
Holds the original word
original()
- Method in class sofie.parsing.
Token
Returns the orignal word
P
parse(String)
- Static method in class sofie.maxsat.
Literal
Constructs a literal
parse(String, String)
- Static method in class sofie.maxsat.
Rule
Parses a line into a rule.
parse(List<String>, int)
- Method in class sofie.parsing.
Parser
Parser
- Class in
sofie.parsing
Class Parser This class is part of the SOFIE system (http://mpii.de/yago-naga/sofie).
Parser(File, boolean)
- Constructor for class sofie.parsing.
Parser
Parses the files
pattern
- Variable in class sofie.parsing.
Tokenizer.PatternRunner
Pattern to be found
pattern()
- Method in class sofie.parsing.
Tokenizer.PatternRunner
returns the pattern
PATTERNOCCURRENCES
- Static variable in class sofie.maxsat.
Hypothesis
Special Relation: patternOccurrences(patternId,x,y,count)
patternOccurrencesWrapper
- Static variable in class sofie.maxsat.
Literal
Converts a database line
to a Hypothesis object
patternRunners()
- Method in class sofie.parsing.
Tokenizer.HTMLTokenizer
patternRunners()
- Method in class sofie.parsing.
Tokenizer
Pattern runners that are to be run for this specific type of tokenizer.
patternRunners()
- Method in class sofie.parsing.
Tokenizer.WikiTokenizer
personName
- Variable in class sofie.parsing.
Token.Person
Holds the name
personName()
- Method in class sofie.parsing.
Token.Person
polarity
- Variable in class sofie.maxsat.
Literal
Holds the polarity
polarity()
- Method in class sofie.maxsat.
Literal
Returns the polarity
polarityOf(Hypothesis)
- Method in class sofie.maxsat.
Literal
Returns the value of f, adjusted for polarity
prepare(CharSequence)
- Method in class sofie.parsing.
Tokenizer.HTMLTokenizer
Decodes also Ampersands
prepare(CharSequence)
- Method in class sofie.parsing.
Tokenizer
Prepares a string for tokenizing.
prepare(CharSequence)
- Method in class sofie.parsing.
Tokenizer.WikiTokenizer
Decodes Ampersand
priority
- Variable in class sofie.maxsat.
Hypothesis
Holds the priority of this hypothesis
priority()
- Method in class sofie.maxsat.
Hypothesis
Returns the priority
priority()
- Method in class sofie.maxsat.
Measures
Double value that estimates how urgent this hypothesis should be set
R
RANGE
- Static variable in class sofie.parsing.
Parser
Constant for interestingTypes()
redirectTo(Token.CommonIndividual)
- Method in class sofie.parsing.
Token.CommonIndividual
Redirects this token to the given token
REF
- Static variable in class sofie.parsing.
Token
Wikipedia references
relatedHypotheses
- Variable in class sofie.maxsat.
Measures
Other related facts
relatedHypotheses()
- Method in class sofie.maxsat.
Measures
returns the related hypotheses
relation
- Variable in class sofie.maxsat.
Hypothesis
Holds the relation, if it is a registered relation
relationIfKnown()
- Method in class sofie.maxsat.
Hypothesis
Returns the relation
relationName()
- Method in class sofie.maxsat.
Hypothesis
Returns the relation name (or variable)
relationsToLearn
- Static variable in class sofie.maxsat.
Config
Relations to learn (as Strings, because they may be undeclared)
replaceFamilyName(Token, List<Token>)
- Method in class sofie.parsing.
Parser
Checks whether an entity is a person and redirects the familyname
replaceMe()
- Method in class sofie.parsing.
Token.AnyName
replaceMe()
- Method in class sofie.parsing.
Token.CommonIndividual
replaceMe()
- Method in class sofie.parsing.
Token.Literal
replaceMe()
- Method in class sofie.parsing.
Token
Tells whether the token shall be replaced by '@' in a pattern
resetPatterns()
- Method in class sofie.parsing.
Parser
Resets all patterns
resolveNext(List<Literal>, Set<String>)
- Static method in class sofie.maxsat.
Rule
Returns the Literal from the list that has to be instantiated next, given a set of known variables
resolveOrder
- Variable in class sofie.maxsat.
Rule
Given the index of one literal, lists the literals to be instantiated next
REVISION
- Static variable in class sofie.parsing.
Token
Wikipedia revisions
Rule
- Class in
sofie.maxsat
Class Rule This class is part of the SOFIE system (http://mpii.de/yago-naga/sofie).
Rule(String, double, Literal...)
- Constructor for class sofie.maxsat.
Rule
Constructs a rule
Rule(String, double, List<Literal>)
- Constructor for class sofie.maxsat.
Rule
Constructs a rule
rules
- Static variable in class sofie.maxsat.
Config
The rules that to optimize
run(int, int, File)
- Static method in class sofie.maxsat.
FMSStar
Sets all hypotheses, TRUE if hypotheses were generated
runOn(CharSequence)
- Method in class sofie.parsing.
Tokenizer.PatternRunner
Sets the pattern runner on this char sequence.
S
saveBinaryPattern(List<Token>, int, int)
- Method in class sofie.parsing.
Parser
Checks and stores a binary pattern to the database
savePattern(String, String, String)
- Method in class sofie.parsing.
Parser
Stores a pattern in the database
saveTo(File)
- Static method in class sofie.maxsat.
FMSStar
Saves the output
saveTo(long, Database.Inserter)
- Method in class sofie.maxsat.
Hypothesis
Stores a hypothesis with 2 arguments to a database
saveTo(long, CSVFile)
- Method in class sofie.maxsat.
Hypothesis
Stores a hypothesis with 2 arguments to writer
saveToFile(File)
- Static method in class sofie.maxsat.
HypothesisStore
Writes the hypotheses to a file
saveToYAGO()
- Static method in class sofie.maxsat.
HypothesisStore
Writes the true hypotheses to YAGO, excluding hypotheses with polysems
saveToYAGO(long)
- Static method in class sofie.maxsat.
HypothesisStore
Writes the true hypotheses to YAGO, excluding hypotheses with polysems
SEPARATOR
- Static variable in class sofie.parsing.
Token
Generic STOP token
setPatternOccurences(int, int)
- Static method in class sofie.maxsat.
Config
Sets patternoccurence limits
setPriority(double)
- Method in class sofie.maxsat.
Hypothesis
Sets the priority
setRelations()
- Static method in class sofie.maxsat.
Hypothesis
Adds the relations to the gloabl contains
setValue(double)
- Method in class sofie.maxsat.
Hypothesis
Sets the value
setValue(boolean)
- Method in class sofie.maxsat.
Hypothesis
Sets the value
setValue(Hypothesis.Truth)
- Method in class sofie.maxsat.
Hypothesis
Sets the value
simplifiedPattern(List<Token>, int, int)
- Method in class sofie.parsing.
Parser
Returns a String representation of a pattern (excluding start and end)
singleHypothesis(boolean)
- Method in class sofie.maxsat.
Literal
Helper routine for ground().
sofie.maxsat
- package sofie.maxsat
sofie.parsing
- package sofie.parsing
standardPatternRunners
- Static variable in class sofie.parsing.
Tokenizer
Standard Pattern runners
STARTARTICLE
- Static variable in class sofie.parsing.
Token
Wikipedia Article
STARTBRACES
- Static variable in class sofie.parsing.
Token
Wikipedia special boxes
STARTINFOBOX
- Static variable in class sofie.parsing.
Token
Wikipedia Infobox
STARTSCRIPT
- Static variable in class sofie.parsing.
Token
HTML script start
swapPolarity()
- Method in class sofie.maxsat.
Literal
Swaps the polarity, returns THIS
T
Token
- Class in
sofie.parsing
Class Token This class is part of the SOFIE system (http://mpii.de/yago-naga/sofie).
Token(String)
- Constructor for class sofie.parsing.
Token
Constructs a token
token
- Variable in class sofie.parsing.
Token
Holds the token itself
token()
- Method in class sofie.parsing.
Token
Returns the token itself
token
- Variable in class sofie.parsing.
Tokenizer.PatternRunner
Token by which an occurence shall be replaced (or NULL if token shall be newly created)
Token.AnyName
- Class in
sofie.parsing
Superclass for tokens that are considered in patterns
Token.AnyName(String)
- Constructor for class sofie.parsing.
Token.AnyName
Token.CanonicProperName
- Class in
sofie.parsing
Disambiguated proper names
Token.CanonicProperName(String)
- Constructor for class sofie.parsing.
Token.CanonicProperName
Token.CommonIndividual
- Class in
sofie.parsing
Superclass for common individuals
Token.CommonIndividual(String)
- Constructor for class sofie.parsing.
Token.CommonIndividual
Token.Company
- Class in
sofie.parsing
Companies
Token.Company(String)
- Constructor for class sofie.parsing.
Token.Company
Token.Date
- Class in
sofie.parsing
Normalized dates
Token.Date(String)
- Constructor for class sofie.parsing.
Token.Date
Token.Functional
- Class in
sofie.parsing
Tokens that serve purely functional purposes
Token.Functional(String)
- Constructor for class sofie.parsing.
Token.Functional
Token.Literal
- Class in
sofie.parsing
Literal tokens
Token.Literal(String)
- Constructor for class sofie.parsing.
Token.Literal
Token.NameType
- Enum in
sofie.parsing
Types of a common name
Token.Number
- Class in
sofie.parsing
Numbers
Token.Number(String)
- Constructor for class sofie.parsing.
Token.Number
Token.Person
- Class in
sofie.parsing
Persons
Token.Person(String)
- Constructor for class sofie.parsing.
Token.Person
Token.Person(Name.PersonName)
- Constructor for class sofie.parsing.
Token.Person
Token.ProperName
- Class in
sofie.parsing
Named entities
Token.ProperName(String)
- Constructor for class sofie.parsing.
Token.ProperName
Token.Punctuation
- Class in
sofie.parsing
Punctuation tokens
Token.Punctuation(String)
- Constructor for class sofie.parsing.
Token.Punctuation
Token.Repeat
- Class in
sofie.parsing
A token that places the title token left of itself
Token.Repeat(String)
- Constructor for class sofie.parsing.
Token.Repeat
Token.SemiCanonicProperName
- Class in
sofie.parsing
Semi-Disambiguated proper names (like wikipedia links)
Token.SemiCanonicProperName(String)
- Constructor for class sofie.parsing.
Token.SemiCanonicProperName
Token.Separator
- Class in
sofie.parsing
Tokens that cannot be part of a pattern
Token.Separator(String)
- Constructor for class sofie.parsing.
Token.Separator
Token.StartCommentToken
- Class in
sofie.parsing
Token that starts a comment (e.g.
Token.StartCommentToken(String, String)
- Constructor for class sofie.parsing.
Token.StartCommentToken
Constructs a comment token with a case insensitive pattern as end
Token.StopWord
- Class in
sofie.parsing
Stop word tokens
Token.StopWord(String)
- Constructor for class sofie.parsing.
Token.StopWord
Token.Title
- Class in
sofie.parsing
Token that shall be repeated before repeat tokens
Token.Title(String)
- Constructor for class sofie.parsing.
Token.Title
Token.URL
- Class in
sofie.parsing
URLs
Token.URL(String)
- Constructor for class sofie.parsing.
Token.URL
Token.USState
- Class in
sofie.parsing
US States
Token.USState(String)
- Constructor for class sofie.parsing.
Token.USState
Token.WikiLink
- Class in
sofie.parsing
non-proper-name Wikipedia links
Token.WikiLink(String)
- Constructor for class sofie.parsing.
Token.WikiLink
Token.Word
- Class in
sofie.parsing
Normal word tokens
Token.Word(String)
- Constructor for class sofie.parsing.
Token.Word
tokenize(CharSequence)
- Method in class sofie.parsing.
Tokenizer
Main method: Tokenizes a char sequence
tokenize(File)
- Method in class sofie.parsing.
Tokenizer
Tokenizes a file
tokenizeHTML(File)
- Static method in class sofie.parsing.
Tokenizer
Tokenizes an HTML document
tokenizeNoInfobox(CharSequence)
- Method in class sofie.parsing.
Tokenizer.WikiTokenizer
Tokenizes the Wikipedia article, but removes the infobox
tokenizeNoInfobox(File)
- Method in class sofie.parsing.
Tokenizer.WikiTokenizer
Tokenizes the Wikipedia article, but removes the infobox
tokenizeOnlyInfobox(CharSequence)
- Method in class sofie.parsing.
Tokenizer.WikiTokenizer
Tokenizes the Wikipedia article, but removes everything outside the infobox
tokenizeOnlyInfobox(File)
- Method in class sofie.parsing.
Tokenizer.WikiTokenizer
Tokenizes the Wikipedia article, but only the infobox
Tokenizer
- Class in
sofie.parsing
Class Tokenizer This class is part of the SOFIE system (http://mpii.de/yago-naga/sofie).
Tokenizer()
- Constructor for class sofie.parsing.
Tokenizer
Tokenizer.HTMLTokenizer
- Class in
sofie.parsing
Tokenizer for HTML
Tokenizer.HTMLTokenizer()
- Constructor for class sofie.parsing.
Tokenizer.HTMLTokenizer
Tokenizer.PatternRunner
- Class in
sofie.parsing
A pattern runner is an object that finds one specific pattern in a string.
Tokenizer.PatternRunner(Pattern, Class<? extends Token>, Token)
- Constructor for class sofie.parsing.
Tokenizer.PatternRunner
Tokenizer.PatternRunner(String, Class<? extends Token>, Token)
- Constructor for class sofie.parsing.
Tokenizer.PatternRunner
Tokenizer.PatternRunner(String, int, Class<? extends Token>, Token)
- Constructor for class sofie.parsing.
Tokenizer.PatternRunner
Tokenizer.PatternRunner(Pattern, Token)
- Constructor for class sofie.parsing.
Tokenizer.PatternRunner
Tokenizer.PatternRunner(String, int, Token)
- Constructor for class sofie.parsing.
Tokenizer.PatternRunner
Tokenizer.PatternRunner(String, Token)
- Constructor for class sofie.parsing.
Tokenizer.PatternRunner
Tokenizer.PatternRunner(String, int, Class<? extends Token>)
- Constructor for class sofie.parsing.
Tokenizer.PatternRunner
Tokenizer.PatternRunner(String, Class<? extends Token>)
- Constructor for class sofie.parsing.
Tokenizer.PatternRunner
Tokenizer.PatternRunner(Pattern, Class<? extends Token>)
- Constructor for class sofie.parsing.
Tokenizer.PatternRunner
Tokenizer.WikiTokenizer
- Class in
sofie.parsing
Tokenizer for Wikipedia
Tokenizer.WikiTokenizer()
- Constructor for class sofie.parsing.
Tokenizer.WikiTokenizer
tokenizeString(String)
- Static method in class sofie.parsing.
Tokenizer
Tokenizes a file
tokenizeText(File)
- Static method in class sofie.parsing.
Tokenizer
Tokenizes an text document
tokenizeWikipedia(File)
- Static method in class sofie.parsing.
Tokenizer
Tokenizes a Wikipedia article completely
tokenizeWikipediaNoInfobox(File)
- Static method in class sofie.parsing.
Tokenizer
Tokenizes a Wikipedia article, omitting the infoboxes
tokenizeWikipediaOnlyInfobox(File)
- Static method in class sofie.parsing.
Tokenizer
Tokenizes the infobox of a Wikipedia article
tokenType
- Variable in class sofie.parsing.
Tokenizer.PatternRunner
Type of token
toString()
- Method in class sofie.maxsat.
Hypothesis
toString()
- Method in class sofie.maxsat.
Literal
toString()
- Method in class sofie.maxsat.
Measures
toString()
- Method in class sofie.maxsat.
Rule
toString()
- Method in class sofie.parsing.
Token.CommonIndividual
toString()
- Method in class sofie.parsing.
Token.Company
toString()
- Method in class sofie.parsing.
Token.Person
toString()
- Method in class sofie.parsing.
Token
toString()
- Method in class sofie.parsing.
Tokenizer.PatternRunner
trace()
- Method in class sofie.maxsat.
Hypothesis
TRUE for hypotheses that are to be traced
TRUE
- Static variable in class sofie.maxsat.
Measures
Index in arrays
truthValue()
- Method in class sofie.maxsat.
Measures
Sets the truth value
U
unitWeight
- Variable in class sofie.maxsat.
Measures
Unit rules
update(String)
- Method in class sofie.parsing.
Parser
Executes a database update.
updateMeasures(Hypothesis, Measures)
- Method in class sofie.maxsat.
Rule
Adds the measures of unsatisfied rules
V
value
- Variable in class sofie.maxsat.
Hypothesis
Holds the confidence value
value()
- Method in class sofie.maxsat.
Hypothesis
Returns the current value
valueOf(String)
- Static method in enum sofie.maxsat.
Hypothesis.Truth
Returns the enum constant of this type with the specified name.
valueOf(String)
- Static method in enum sofie.parsing.
Token.NameType
Returns the enum constant of this type with the specified name.
values()
- Static method in enum sofie.maxsat.
Hypothesis.Truth
Returns an array containing the constants of this enum type, in the order they are declared.
values()
- Static method in enum sofie.parsing.
Token.NameType
Returns an array containing the constants of this enum type, in the order they are declared.
W
weight
- Variable in class sofie.maxsat.
Rule
Holds the weight of this rule
weight()
- Method in class sofie.maxsat.
Rule
returns the rule weight
wikiPatternRunners
- Static variable in class sofie.parsing.
Tokenizer.WikiTokenizer
Wikipedia-specific patterns
withBindings(Map<String, String>)
- Method in class sofie.maxsat.
Literal
Applies the bindings
WORDINCONTEXT
- Static variable in class sofie.maxsat.
Hypothesis
Special class for wordInContext
wordsOfCurrentDocument
- Variable in class sofie.parsing.
Parser
Stores all words of the current document with their frequency
Y
YAGO
- Static variable in class sofie.maxsat.
FMSStar
Constant for "save to YAGO instead of a file"
yagoClass()
- Method in class sofie.parsing.
Token.Date
yagoClass()
- Method in class sofie.parsing.
Token.Literal
Point to the literal YAGO class
yagoClass()
- Method in class sofie.parsing.
Token.Number
yagoClass()
- Method in class sofie.parsing.
Token.URL
yagoWrapper
- Static variable in class sofie.maxsat.
Literal
Converts a database line
to a Hypothesis object
A
B
C
D
E
F
G
H
I
J
L
M
N
O
P
R
S
T
U
V
W
Y
Overview
Package
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes