public class Categoriser extends Object implements CategoriserTrait
| Constructor and Description |
|---|
Categoriser(TopicStore store) |
| Modifier and Type | Method and Description |
|---|---|
scala.collection.immutable.List<CategoryMatch> |
categorise(String sentence) |
Category |
createCategory(String name,
scala.collection.immutable.List<String> entries) |
Category |
deleteCategory(UUID id) |
FuzzyMatcher |
fuzzyMatcher() |
scala.collection.immutable.List<Category> |
getCategories() |
scala.Option<Category> |
getCategory(UUID id) |
scala.collection.immutable.Map<Category,scala.collection.mutable.Buffer<EntryParseResult>> |
matchers() |
RegexMatcher |
regexMatcher() |
FuzzyMatcher |
strictMatcher() |
Category |
updateCategory(Category topic) |
public Categoriser(TopicStore store)
public FuzzyMatcher strictMatcher()
public FuzzyMatcher fuzzyMatcher()
public RegexMatcher regexMatcher()
public scala.collection.immutable.Map<Category,scala.collection.mutable.Buffer<EntryParseResult>> matchers()
public scala.collection.immutable.List<CategoryMatch> categorise(String sentence)
categorise in interface CategoriserTraitpublic scala.collection.immutable.List<Category> getCategories()
getCategories in interface CategoriserTraitpublic scala.Option<Category> getCategory(UUID id)
getCategory in interface CategoriserTraitpublic Category createCategory(String name, scala.collection.immutable.List<String> entries)
createCategory in interface CategoriserTraitpublic Category deleteCategory(UUID id)
deleteCategory in interface CategoriserTraitpublic Category updateCategory(Category topic)
updateCategory in interface CategoriserTraitCopyright © 2017 teletronics.ae. All Rights Reserved.