
com.fnklabs.draenei.analytics.ClusteringAlgorithm Maven / Gradle / Ivy
package com.fnklabs.draenei.analytics;
import org.jetbrains.annotations.NotNull;
import java.util.Set;
/**
* Strategy that can create facet map from content
*/
interface ClusteringAlgorithm {
/**
* Build facets from content
*
* @param platformContent Content information from which will be build facets
*
* @return Set of facets
*/
@NotNull
Set build(@NotNull Object platformContent);
/**
* Build facets from text for search
*
* @param content Content information from which wil be build facets
*
* @return Set of facets
*/
@NotNull
Set build(@NotNull String content);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy