Uses of Class
org.languagetool.AnalyzedSentence
-
-
Uses of AnalyzedSentence in org.languagetool
Fields in org.languagetool with type parameters of type AnalyzedSentence Modifier and Type Field Description private java.util.List<AnalyzedSentence>
JLanguageTool.TextCheckCallable. analyzedSentences
private com.google.common.cache.Cache<SimpleInputSentence,AnalyzedSentence>
ResultCache. sentenceCache
Methods in org.languagetool that return AnalyzedSentence Modifier and Type Method Description AnalyzedSentence
MultiThreadedJLanguageTool.AnalyzeSentenceCallable. call()
AnalyzedSentence
MultiThreadedJLanguageTool.ParagraphEndAnalyzeSentenceCallable. call()
AnalyzedSentence
AnalyzedSentence. copy(AnalyzedSentence sentence)
The method copiesAnalyzedSentence
and returns the copy.AnalyzedSentence
JLanguageTool. getAnalyzedSentence(java.lang.String sentence)
Tokenizes the givensentence
into words and analyzes it, and then disambiguates POS tags.AnalyzedSentence
ResultCache. getIfPresent(SimpleInputSentence key)
AnalyzedSentence
JLanguageTool. getRawAnalyzedSentence(java.lang.String sentence)
Tokenizes the givensentence
into words and analyzes it.Methods in org.languagetool that return types with arguments of type AnalyzedSentence Modifier and Type Method Description protected java.util.List<AnalyzedSentence>
JLanguageTool. analyzeSentences(java.util.List<java.lang.String> sentences)
protected java.util.List<AnalyzedSentence>
MultiThreadedJLanguageTool. analyzeSentences(java.util.List<java.lang.String> sentences)
java.util.List<AnalyzedSentence>
JLanguageTool. analyzeText(java.lang.String text)
Use this method if you want to access LanguageTool's otherwise internal analysis of the text.com.google.common.cache.Cache<SimpleInputSentence,AnalyzedSentence>
ResultCache. getSentenceCache()
Methods in org.languagetool with parameters of type AnalyzedSentence Modifier and Type Method Description java.util.List<RuleMatch>
JLanguageTool. checkAnalyzedSentence(JLanguageTool.ParagraphHandling paraMode, java.util.List<Rule> rules, AnalyzedSentence analyzedSentence)
This is an internal method that's public only for technical reasons, please use one of theJLanguageTool.check(String)
methods instead.AnalyzedSentence
AnalyzedSentence. copy(AnalyzedSentence sentence)
The method copiesAnalyzedSentence
and returns the copy.protected void
JLanguageTool. printSentenceInfo(AnalyzedSentence analyzedSentence)
void
ResultCache. put(SimpleInputSentence key, AnalyzedSentence aSentence)
protected void
JLanguageTool. rememberUnknownWords(AnalyzedSentence analyzedText)
int
ResultCache.SentenceWeigher. weigh(SimpleInputSentence sentence, AnalyzedSentence analyzedSentence)
Method parameters in org.languagetool with type arguments of type AnalyzedSentence Modifier and Type Method Description private java.util.List<java.util.concurrent.Callable<java.util.List<RuleMatch>>>
MultiThreadedJLanguageTool. createTextCheckCallables(JLanguageTool.ParagraphHandling paraMode, AnnotatedText annotatedText, java.util.List<AnalyzedSentence> analyzedSentences, java.util.List<java.lang.String> sentences, java.util.List<Rule> allRules, int charCount, int lineCount, int columnCount, RuleMatchListener listener, JLanguageTool.Mode mode)
protected java.util.List<RuleMatch>
JLanguageTool. performCheck(java.util.List<AnalyzedSentence> analyzedSentences, java.util.List<java.lang.String> sentences, java.util.List<Rule> allRules, JLanguageTool.ParagraphHandling paraMode, AnnotatedText annotatedText, JLanguageTool.Mode mode)
protected java.util.List<RuleMatch>
JLanguageTool. performCheck(java.util.List<AnalyzedSentence> analyzedSentences, java.util.List<java.lang.String> sentences, java.util.List<Rule> allRules, JLanguageTool.ParagraphHandling paraMode, AnnotatedText annotatedText, RuleMatchListener listener, JLanguageTool.Mode mode)
protected java.util.List<RuleMatch>
MultiThreadedJLanguageTool. performCheck(java.util.List<AnalyzedSentence> analyzedSentences, java.util.List<java.lang.String> sentences, java.util.List<Rule> allRules, JLanguageTool.ParagraphHandling paraMode, AnnotatedText annotatedText, RuleMatchListener listener, JLanguageTool.Mode mode)
-
Uses of AnalyzedSentence in org.languagetool.noop
Methods in org.languagetool.noop that return AnalyzedSentence Modifier and Type Method Description AnalyzedSentence
NoopDisambiguator. disambiguate(AnalyzedSentence input)
Methods in org.languagetool.noop with parameters of type AnalyzedSentence Modifier and Type Method Description AnalyzedSentence
NoopDisambiguator. disambiguate(AnalyzedSentence input)
-
Uses of AnalyzedSentence in org.languagetool.rules
Fields in org.languagetool.rules declared as AnalyzedSentence Modifier and Type Field Description private AnalyzedSentence
RuleMatch. sentence
private AnalyzedSentence
SymbolLocator. sentence
Methods in org.languagetool.rules that return AnalyzedSentence Modifier and Type Method Description AnalyzedSentence
RuleMatch. getSentence()
(package private) AnalyzedSentence
SymbolLocator. getSentence()
protected AnalyzedSentence
Rule. getSentenceWithImmunization(AnalyzedSentence sentence)
To be called fromRule.match(AnalyzedSentence)
for rules that wantRule.getAntiPatterns()
to be considered.Methods in org.languagetool.rules with parameters of type AnalyzedSentence Modifier and Type Method Description private java.lang.String
OpenNMTRule. createJson(AnalyzedSentence sentence)
private @Nullable RuleMatch
GenericUnpairedBracketsRule. createMatch(java.util.List<RuleMatch> ruleMatches, UnsyncStack<SymbolLocator> ruleMatchStack, int startPos, java.lang.String symbol, AnalyzedSentence sentence, java.util.List<AnalyzedSentence> sentences)
protected RuleMatch
AbstractSimpleReplaceRule. createRuleMatch(AnalyzedTokenReadings tokenReadings, java.util.List<java.lang.String> replacements, AnalyzedSentence sentence)
protected RuleMatch
WordRepeatRule. createRuleMatch(java.lang.String prevToken, java.lang.String token, int prevPos, int pos, java.lang.String msg, AnalyzedSentence sentence)
protected boolean
AbstractUnitConversionRule. detectNumberRange(AnalyzedSentence sentence, java.util.regex.Matcher matcher)
private boolean
GenericUnpairedBracketsRule. fillSymbolStack(int startPosBase, AnalyzedTokenReadings[] tokens, int i, int j, UnsyncStack<SymbolLocator> symbolStack, AnalyzedSentence sentence)
protected java.util.List<RuleMatch>
AbstractSimpleReplaceRule. findMatches(AnalyzedTokenReadings tokenReadings, AnalyzedSentence sentence)
protected AnalyzedSentence
Rule. getSentenceWithImmunization(AnalyzedSentence sentence)
To be called fromRule.match(AnalyzedSentence)
for rules that wantRule.getAntiPatterns()
to be considered.RuleMatch[]
AbstractCompoundRule. match(AnalyzedSentence sentence)
RuleMatch[]
AbstractDashRule. match(AnalyzedSentence sentence)
RuleMatch[]
AbstractPunctuationCheckRule. match(AnalyzedSentence sentence)
RuleMatch[]
AbstractSimpleReplaceRule. match(AnalyzedSentence sentence)
RuleMatch[]
AbstractSimpleReplaceRule2. match(AnalyzedSentence sentence)
RuleMatch[]
AbstractSpaceBeforeRule. match(AnalyzedSentence sentence)
RuleMatch[]
AbstractUnitConversionRule. match(AnalyzedSentence sentence)
RuleMatch[]
AdvancedWordRepeatRule. match(AnalyzedSentence sentence)
RuleMatch[]
CommaWhitespaceRule. match(AnalyzedSentence sentence)
RuleMatch[]
DemoRule. match(AnalyzedSentence sentence)
RuleMatch[]
DoublePunctuationRule. match(AnalyzedSentence sentence)
RuleMatch[]
LongSentenceRule. match(AnalyzedSentence sentence)
RuleMatch[]
OpenNMTRule. match(AnalyzedSentence sentence)
abstract RuleMatch[]
Rule. match(AnalyzedSentence sentence)
Check whether the given sentence matches this error rule, i.e.RuleMatch[]
TextLevelRule. match(AnalyzedSentence sentence)
RuleMatch[]
WhiteSpaceAtBeginOfParagraph. match(AnalyzedSentence sentence)
RuleMatch[]
WhitespaceBeforePunctuationRule. match(AnalyzedSentence sentence)
RuleMatch[]
WordRepeatRule. match(AnalyzedSentence sentence)
RuleMatch[]
WrongWordInContextRule. match(AnalyzedSentence sentence)
private void
AbstractUnitConversionRule. matchUnits(AnalyzedSentence sentence, java.util.List<RuleMatch> matches, java.util.List<java.util.Map.Entry<java.lang.Integer,java.lang.Integer>> ignoreRanges, boolean isMetric)
private void
AbstractUnitConversionRule. tryConversion(AnalyzedSentence sentence, java.util.List<RuleMatch> matches, java.util.regex.Pattern unitPattern, java.lang.Double customValue, javax.measure.Unit customUnit, java.util.regex.Matcher unitMatcher, java.util.List<java.util.Map.Entry<java.lang.Integer,java.lang.Integer>> ignoreRanges)
Method parameters in org.languagetool.rules with type arguments of type AnalyzedSentence Modifier and Type Method Description RuleMatch[]
AbstractFillerWordsRule. match(java.util.List<AnalyzedSentence> sentences)
RuleMatch[]
AbstractStyleRepeatedWordRule. match(java.util.List<AnalyzedSentence> sentences)
RuleMatch[]
AbstractWordCoherencyRule. match(java.util.List<AnalyzedSentence> sentences)
RuleMatch[]
EmptyLineRule. match(java.util.List<AnalyzedSentence> sentences)
RuleMatch[]
GenericUnpairedBracketsRule. match(java.util.List<AnalyzedSentence> sentences)
RuleMatch[]
LongParagraphRule. match(java.util.List<AnalyzedSentence> sentences)
RuleMatch[]
MultipleWhitespaceRule. match(java.util.List<AnalyzedSentence> sentences)
RuleMatch[]
ParagraphRepeatBeginningRule. match(java.util.List<AnalyzedSentence> sentences)
RuleMatch[]
PunctuationMarkAtParagraphEnd. match(java.util.List<AnalyzedSentence> sentences)
RuleMatch[]
ReadabilityRule. match(java.util.List<AnalyzedSentence> sentences)
RuleMatch[]
SentenceWhitespaceRule. match(java.util.List<AnalyzedSentence> sentences)
abstract RuleMatch[]
TextLevelRule. match(java.util.List<AnalyzedSentence> sentences)
Deprecated.useTextLevelRule.match(List, AnnotatedText)
insteadRuleMatch[]
TextLevelRule. match(java.util.List<AnalyzedSentence> sentences, AnnotatedText annotatedText)
RuleMatch[]
UppercaseSentenceStartRule. match(java.util.List<AnalyzedSentence> sentences)
RuleMatch[]
WhiteSpaceBeforeParagraphEnd. match(java.util.List<AnalyzedSentence> sentences)
RuleMatch[]
WordRepeatBeginningRule. match(java.util.List<AnalyzedSentence> sentences)
Constructors in org.languagetool.rules with parameters of type AnalyzedSentence Constructor Description RuleMatch(Rule rule, AnalyzedSentence sentence, int fromPos, int toPos, java.lang.String message)
Creates a RuleMatch object, taking the rule that triggered this match, position of the match and an explanation message.RuleMatch(Rule rule, AnalyzedSentence sentence, int fromPos, int toPos, java.lang.String message, java.lang.String shortMessage)
Creates a RuleMatch object, taking the rule that triggered this match, position of the match and an explanation message.RuleMatch(Rule rule, AnalyzedSentence sentence, int fromPos, int toPos, java.lang.String message, java.lang.String shortMessage, boolean startWithUppercase, java.lang.String suggestionsOutMsg)
Creates a RuleMatch object, taking the rule that triggered this match, position of the match and an explanation message.SymbolLocator(java.lang.String symbol, int index, int startPos, AnalyzedSentence sentence)
-
Uses of AnalyzedSentence in org.languagetool.rules.bitext
Methods in org.languagetool.rules.bitext with parameters of type AnalyzedSentence Modifier and Type Method Description @Nullable RuleMatch[]
BitextRule. match(AnalyzedSentence sentence)
This method makes no sense for bitext, thus it always returnsnull
.abstract RuleMatch[]
BitextRule. match(AnalyzedSentence sourceText, AnalyzedSentence targetText)
RuleMatch[]
DifferentLengthRule. match(AnalyzedSentence sourceText, AnalyzedSentence targetText)
RuleMatch[]
DifferentPunctuationRule. match(AnalyzedSentence sourceText, AnalyzedSentence targetText)
RuleMatch[]
SameTranslationRule. match(AnalyzedSentence sourceText, AnalyzedSentence targetText)
-
Uses of AnalyzedSentence in org.languagetool.rules.neuralnetwork
Methods in org.languagetool.rules.neuralnetwork with parameters of type AnalyzedSentence Modifier and Type Method Description private @NotNull RuleMatch
NeuralNetworkRule. createRuleMatch(AnalyzedTokenReadings token, Suggestion suggestion, float[] y, AnalyzedSentence sentence)
RuleMatch[]
NeuralNetworkRule. match(AnalyzedSentence sentence)
-
Uses of AnalyzedSentence in org.languagetool.rules.ngrams
Methods in org.languagetool.rules.ngrams with parameters of type AnalyzedSentence Modifier and Type Method Description protected boolean
NgramProbabilityRule. acceptMatch(RuleMatch match, Probability p, AnalyzedSentence sentence)
Overwrite this method to discard matches by returningfalse
.private static java.util.Set<AnalyzedToken>
GoogleToken. findOriginalAnalyzedTokens(AnalyzedSentence sentence, int startPos, int endPos)
static double
LanguageModelUtils. get3gramProbabilityFor(Language lang, LanguageModel lm, int position, AnalyzedSentence sentence, java.lang.String candidate)
static double
LanguageModelUtils. get4gramProbabilityFor(Language lang, LanguageModel lm, int position, AnalyzedSentence sentence, java.lang.String candidate)
private NgramProbabilityRule.Alternatives
NgramProbabilityRule. getBetterAlternatives(GoogleToken prevToken, java.lang.String token, GoogleToken next, GoogleToken googleToken, Probability p, AnalyzedSentence sentence)
(package private) static java.util.List<GoogleToken>
GoogleToken. getGoogleTokens(AnalyzedSentence sentence, boolean addStartToken, Tokenizer wordTokenizer)
private boolean
ConfusionProbabilityRule. isLocalException(AnalyzedSentence sentence, GoogleToken googleToken)
RuleMatch[]
ConfusionProbabilityRule. match(AnalyzedSentence sentence)
RuleMatch[]
NgramProbabilityRule. match(AnalyzedSentence sentence)
-
Uses of AnalyzedSentence in org.languagetool.rules.patterns
Methods in org.languagetool.rules.patterns with parameters of type AnalyzedSentence Modifier and Type Method Description boolean
PatternRule. canBeIgnoredFor(AnalyzedSentence sentence)
A fast check whether this rule can be ignored for the given sentence because it can never match.private @Nullable RuleMatch
PatternRuleMatcher. createRuleMatch(java.util.List<java.lang.Integer> tokenPositions, AnalyzedTokenReadings[] tokens, int firstMatchToken, int lastMatchToken, int firstMarkerMatchToken, int lastMarkerMatchToken, AnalyzedSentence sentence)
RuleMatch[]
AbstractPatternRule. match(AnalyzedSentence sentence)
RuleMatch[]
PatternRule. match(AnalyzedSentence sentence)
RuleMatch[]
PatternRuleMatcher. match(AnalyzedSentence sentence)
RuleMatch[]
RegexPatternRule. match(AnalyzedSentence sentenceObj)
RuleMatch[]
RuleFilter.FakeRule. match(AnalyzedSentence sentence)
RuleMatch[]
RuleMatcher. match(AnalyzedSentence sentence)
-
Uses of AnalyzedSentence in org.languagetool.rules.patterns.bitext
Methods in org.languagetool.rules.patterns.bitext with parameters of type AnalyzedSentence Modifier and Type Method Description RuleMatch[]
BitextPatternRule. match(AnalyzedSentence sentence)
This method always returns an empty array.RuleMatch[]
BitextPatternRule. match(AnalyzedSentence sourceSentence, AnalyzedSentence targetSentence)
-
Uses of AnalyzedSentence in org.languagetool.rules.spelling
Methods in org.languagetool.rules.spelling with parameters of type AnalyzedSentence Modifier and Type Method Description protected RuleMatch
SpellingCheckRule. createWrongSplitMatch(AnalyzedSentence sentence, java.util.List<RuleMatch> ruleMatchesSoFar, int pos, java.lang.String coveredWord, java.lang.String suggestion1, java.lang.String suggestion2, int prevPos)
protected java.util.List<java.lang.String>
SpellingCheckRule. filterSuggestions(java.util.List<java.lang.String> suggestions, AnalyzedSentence sentence, int i)
Remove prohibited words from suggestions.abstract RuleMatch[]
SpellingCheckRule. match(AnalyzedSentence sentence)
RuleMatch[]
SymSpellRule. match(AnalyzedSentence sentence)
-
Uses of AnalyzedSentence in org.languagetool.rules.spelling.hunspell
Methods in org.languagetool.rules.spelling.hunspell with parameters of type AnalyzedSentence Modifier and Type Method Description protected java.lang.String
HunspellRule. getSentenceTextWithoutUrlsAndImmunizedTokens(AnalyzedSentence sentence)
protected boolean
HunspellRule. isQuotedCompound(AnalyzedSentence analyzedSentence, int idx, java.lang.String token)
Is the given token part of a hyphenated compound preceded by a quoted token (e.g., „Spiegel“-Magazin) and should be treated as an ordinary hyphenated compound (e.g., „Spiegel-Magazin“)RuleMatch[]
HunspellRule. match(AnalyzedSentence sentence)
-
Uses of AnalyzedSentence in org.languagetool.rules.spelling.morfologik
Methods in org.languagetool.rules.spelling.morfologik with parameters of type AnalyzedSentence Modifier and Type Method Description protected java.util.List<RuleMatch>
MorfologikSpellerRule. getRuleMatches(java.lang.String word, int startPos, AnalyzedSentence sentence, java.util.List<RuleMatch> ruleMatchesSoFar, int idx, AnalyzedTokenReadings[] tokens)
RuleMatch[]
MorfologikSpellerRule. match(AnalyzedSentence sentence)
private java.util.List<java.lang.String>
MorfologikSpellerRule. orderSuggestions(java.util.List<java.lang.String> suggestions, java.lang.String word, AnalyzedSentence sentence, int startPos)
-
Uses of AnalyzedSentence in org.languagetool.rules.spelling.morfologik.suggestions_ordering
Methods in org.languagetool.rules.spelling.morfologik.suggestions_ordering with parameters of type AnalyzedSentence Modifier and Type Method Description java.util.List<SuggestedReplacement>
SuggestionsOrdererGSoC. orderSuggestions(java.util.List<java.lang.String> suggestions, java.lang.String word, AnalyzedSentence sentence, int startPos)
Deprecated. -
Uses of AnalyzedSentence in org.languagetool.rules.spelling.suggestions
Methods in org.languagetool.rules.spelling.suggestions with parameters of type AnalyzedSentence Modifier and Type Method Description org.apache.commons.lang3.tuple.Pair<java.util.List<SuggestedReplacement>,java.util.SortedMap<java.lang.String,java.lang.Float>>
SuggestionsOrdererFeatureExtractor. computeFeatures(java.util.List<java.lang.String> suggestions, java.lang.String word, AnalyzedSentence sentence, int startPos)
compute features for training or prediction of a ranking model for suggestionsjava.util.List<SuggestedReplacement>
SuggestionsOrderer. orderSuggestions(java.util.List<java.lang.String> suggestions, java.lang.String word, AnalyzedSentence sentence, int startPos)
java.util.List<SuggestedReplacement>
SuggestionsOrdererFeatureExtractor. orderSuggestions(java.util.List<java.lang.String> suggestions, java.lang.String word, AnalyzedSentence sentence, int startPos)
java.util.List<SuggestedReplacement>
XGBoostSuggestionsOrderer. orderSuggestions(java.util.List<java.lang.String> suggestions, java.lang.String word, AnalyzedSentence sentence, int startPos)
default java.util.List<java.lang.String>
SuggestionsOrderer. orderSuggestionsUsingModel(java.util.List<java.lang.String> suggestions, java.lang.String word, AnalyzedSentence sentence, int startPos)
-
Uses of AnalyzedSentence in org.languagetool.tagging.disambiguation
Methods in org.languagetool.tagging.disambiguation that return AnalyzedSentence Modifier and Type Method Description AnalyzedSentence
Disambiguator. disambiguate(AnalyzedSentence input)
If possible, filters out the wrong POS tags.AnalyzedSentence
MultiWordChunker. disambiguate(AnalyzedSentence input)
Implements multiword POS tags, e.g., <ELLIPSIS> for ellipsis (...) start, and </ELLIPSIS> for ellipsis end.AnalyzedSentence
MultiWordChunker2. disambiguate(AnalyzedSentence input)
Implements multiword POS tags, e.g., <ELLIPSIS> for ellipsis (...) start, and </ELLIPSIS> for ellipsis end.AnalyzedSentence
AbstractDisambiguator. preDisambiguate(AnalyzedSentence input)
AnalyzedSentence
Disambiguator. preDisambiguate(AnalyzedSentence input)
If possible, filters out the wrong POS tags.Methods in org.languagetool.tagging.disambiguation with parameters of type AnalyzedSentence Modifier and Type Method Description AnalyzedSentence
Disambiguator. disambiguate(AnalyzedSentence input)
If possible, filters out the wrong POS tags.AnalyzedSentence
MultiWordChunker. disambiguate(AnalyzedSentence input)
Implements multiword POS tags, e.g., <ELLIPSIS> for ellipsis (...) start, and </ELLIPSIS> for ellipsis end.AnalyzedSentence
MultiWordChunker2. disambiguate(AnalyzedSentence input)
Implements multiword POS tags, e.g., <ELLIPSIS> for ellipsis (...) start, and </ELLIPSIS> for ellipsis end.AnalyzedSentence
AbstractDisambiguator. preDisambiguate(AnalyzedSentence input)
AnalyzedSentence
Disambiguator. preDisambiguate(AnalyzedSentence input)
If possible, filters out the wrong POS tags. -
Uses of AnalyzedSentence in org.languagetool.tagging.disambiguation.rules
Methods in org.languagetool.tagging.disambiguation.rules that return AnalyzedSentence Modifier and Type Method Description AnalyzedSentence
XmlRuleDisambiguator. disambiguate(AnalyzedSentence input)
AnalyzedSentence
DisambiguationPatternRule. replace(AnalyzedSentence sentence)
Performs disambiguation on the source sentence.AnalyzedSentence
DisambiguationPatternRuleReplacer. replace(AnalyzedSentence sentence)
Methods in org.languagetool.tagging.disambiguation.rules with parameters of type AnalyzedSentence Modifier and Type Method Description AnalyzedSentence
XmlRuleDisambiguator. disambiguate(AnalyzedSentence input)
private AnalyzedTokenReadings[]
DisambiguationPatternRuleReplacer. executeAction(AnalyzedSentence sentence, AnalyzedTokenReadings[] whiteTokens, AnalyzedTokenReadings[] unifiedTokens, int firstMatchToken, int lastMatchToken, int matchingTokens, int[] tokenPositions)
private boolean
DisambiguationPatternRuleReplacer. keepByDisambig(AnalyzedSentence sentence, int ruleMatchFromPos, int ruleMatchToPos)
AnalyzedSentence
DisambiguationPatternRule. replace(AnalyzedSentence sentence)
Performs disambiguation on the source sentence.AnalyzedSentence
DisambiguationPatternRuleReplacer. replace(AnalyzedSentence sentence)
-
Uses of AnalyzedSentence in org.languagetool.tagging.disambiguation.xx
Methods in org.languagetool.tagging.disambiguation.xx that return AnalyzedSentence Modifier and Type Method Description AnalyzedSentence
DemoDisambiguator. disambiguate(AnalyzedSentence input)
Methods in org.languagetool.tagging.disambiguation.xx with parameters of type AnalyzedSentence Modifier and Type Method Description AnalyzedSentence
DemoDisambiguator. disambiguate(AnalyzedSentence input)
-