Interface ModelsOrchestrer

  • All Known Implementing Classes:
    ModelsOrchestrerImpl

    public interface ModelsOrchestrer
    This class, as it's name indicates, will take care of the orchestration between the different models It creates all the instances and calls the methods in the correct orders.
    • Method Detail

      • getCategories

        List<CategorizerImpl.CategoryResult> getCategories​(String[] input)
        this method will get all the categories from the user inputs.
        Parameters:
        input - an array of Strings representing the sentences entered by the user
        Returns:
        array of Category Result representing the list of unique categories.
      • toSentences

        String[] toSentences​(String input)
        this method will prepare the list of sentences based on the user's input
        Parameters:
        input - String representing user's input
        Returns:
        String[] representing an array of sentences.