Uses of Record Class
org.ek9lang.assist.QuestionAndAnswer
Packages that use QuestionAndAnswer
-
Uses of QuestionAndAnswer in org.ek9lang.assist
Methods in org.ek9lang.assist that return QuestionAndAnswerModifier and TypeMethodDescription(package private) QuestionAndAnswerEk9QaFileLoader.loadFromResource(String resourcePath) QuestionMatcher.ScoredQuestion.question()Returns the value of thequestionrecord component.Methods in org.ek9lang.assist that return types with arguments of type QuestionAndAnswerModifier and TypeMethodDescriptionQuestionMatcher.findBestMatches(String input, QuestionRegistry registry) Find the best matching questions using default max results (3).QuestionMatcher.findBestMatches(String input, QuestionRegistry registry, int maxResults) Find the best matching questions for the given input text.QuestionMatcher.findByCategory(String input, QuestionRegistry registry) Find a category whose name fuzzy-matches the input.QuestionRegistry.getAll()QuestionRegistry.getByCategory()QuestionRegistry.getById(int id) QuestionRegistry.getForCategory(String category) Ek9QaFileLoader.loadAll()Load all QA entries from manifest-listed .ek9 resource files.Methods in org.ek9lang.assist with parameters of type QuestionAndAnswerModifier and TypeMethodDescription(package private) doubleQuestionMatcher.bm25fScore(Map<String, Double> weightedTokens, QuestionAndAnswer candidate, Map<String, Double> idfMap, double[] avgFieldLengths) Compute BM25F score for a query against a candidate question.(package private) intQuestionMatcher.questionRelevance(Set<String> inputTokens, QuestionAndAnswer candidate) Count how many input tokens match words in the canonical question text.Constructors in org.ek9lang.assist with parameters of type QuestionAndAnswerModifierConstructorDescriptionScoredQuestion(QuestionAndAnswer question, double score, int questionRelevance) Creates an instance of aScoredQuestionrecord class.Constructor parameters in org.ek9lang.assist with type arguments of type QuestionAndAnswer