Package com.simplidh.api
Interface IOptimizeGenerate<T>
- Type Parameters:
T
-
public interface IOptimizeGenerate<T>
- Author:
- Phillip Austerfield
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic interface
Optimize resultstatic interface
Length Optimization Candidate -
Method Summary
Modifier and TypeMethodDescriptionGeneratesetFocusKeywords
(String... asKeywords) Single Keyword from a list which defines the semantic context for the generated titlesetOutputExamples
(String... asExamples) Examples of titles which should be generated.setOutputExamplesImpact
(int nImpact) Examples of titles which should be generated.setTargetAudience
(String sAudience) A description of the target audience for the title.setTargetTags
(String... asTags) Set tags
-
Method Details
-
setFocusKeywords
Single Keyword from a list which defines the semantic context for the generated title- Parameters:
asKeywords
-- Returns:
-
setTargetAudience
A description of the target audience for the title.- Parameters:
sAudience
-- Returns:
-
setOutputExamples
Examples of titles which should be generated.- Parameters:
asExamples
-- Returns:
-
setTargetTags
Set tags- Parameters:
asTags
- Tags, e.g. SEO, ANIMALS etc.- Returns:
-
setOutputExamplesImpact
Examples of titles which should be generated.- Parameters:
nImpact
- [0...5] where 5 is high, 0 is low- Returns:
-
generate
@NotNull IOptimizeGenerate.IOptimizeResult<T> generate(@NotNull String sSourceText, @NotNull String sTargetLanguage, boolean useCached) Generate- Parameters:
sSourceText
-sTargetLanguage
- Target LanguageuseCached
- Use cached result- Returns:
-