A B C D E F G H I L M N P R S T U V W 
All Classes All Packages

A

add(String) - Method in class net.thexcoders.aladin_bot_backend.models.Responses
adding a new element to the hashMap using the language entered as a parameter to the constructor
AR - Static variable in class net.thexcoders.aladin_bot_backend.converters.LangConverter
 

B

BEST_FOOD - Static variable in class net.thexcoders.aladin_bot_backend.converters.CategoryConverter
 
BEST_PLACE - Static variable in class net.thexcoders.aladin_bot_backend.converters.CategoryConverter
 

C

catCode - Variable in class net.thexcoders.aladin_bot_backend.nlp_models.categorizer.CategorizerImpl.CategoryResult
 
Categorizer - Interface in net.thexcoders.aladin_bot_backend.nlp_models.categorizer
Categorizer class aims to recognize the category of the sentence based on the training Model used.
Categorizer.Language - Enum in net.thexcoders.aladin_bot_backend.nlp_models.categorizer
enumeration class with two values Categorizer.Language.EN and Categorizer.Language.FR.
CategorizerImpl - Class in net.thexcoders.aladin_bot_backend.nlp_models.categorizer
 
CategorizerImpl() - Constructor for class net.thexcoders.aladin_bot_backend.nlp_models.categorizer.CategorizerImpl
Categorizer constructor that prepares the files needed to train the Model in the languages added to the Language Enumeration Class.
CategorizerImpl.CategoryResult - Class in net.thexcoders.aladin_bot_backend.nlp_models.categorizer
this inner class is used to store the result of the CategorizerImpl.getCategory(String[], Language, String) method it stores the values to be stored or logged.
category - Variable in class net.thexcoders.aladin_bot_backend.nlp_models.categorizer.CategorizerImpl.CategoryResult
 
categoryConverter(String) - Static method in class net.thexcoders.aladin_bot_backend.converters.CategoryConverter
Converting the Category code to an Integer.
CategoryConverter - Class in net.thexcoders.aladin_bot_backend.converters
 
CategoryConverter() - Constructor for class net.thexcoders.aladin_bot_backend.converters.CategoryConverter
 
CategoryResult(String, double, String) - Constructor for class net.thexcoders.aladin_bot_backend.nlp_models.categorizer.CategorizerImpl.CategoryResult
 
CategoryResultImpl - Class in net.thexcoders.aladin_bot_backend.nlp_models.categorizer
 
CategoryResultImpl(String, double, String) - Constructor for class net.thexcoders.aladin_bot_backend.nlp_models.categorizer.CategoryResultImpl
 
changeState(int) - Method in class net.thexcoders.aladin_bot_backend.models.History
Change the state of the instance of History based in the state entered as a Parameter
changeState(ModelMap) - Method in class net.thexcoders.aladin_bot_backend.controllers.HistoryController
Gets the file based on the language selected and returns it to be downloaded by the user
codeToLangConverter(int) - Static method in class net.thexcoders.aladin_bot_backend.converters.LangConverter
Converting the Language from code to Categorizer.Language
CONV_END - Static variable in class net.thexcoders.aladin_bot_backend.converters.CategoryConverter
 
CREATE_DATA - Static variable in class net.thexcoders.aladin_bot_backend.converters.CategoryConverter
 

D

detectLang(String) - Method in interface net.thexcoders.aladin_bot_backend.nlp_models.language.LangDetector
detects the language of the message and prints into the logs the value and the precision of the detection.
detectLang(String) - Method in class net.thexcoders.aladin_bot_backend.nlp_models.language.LangDetectorImpl
detects the language of the message and prints into the logs the value and the precision of the detection.
download(String) - Method in class net.thexcoders.aladin_bot_backend.controllers.HistoryController
Gets the file based on the language selected and returns it to be downloaded by the user

E

EMERGENCY - Static variable in class net.thexcoders.aladin_bot_backend.converters.CategoryConverter
 
EN - net.thexcoders.aladin_bot_backend.nlp_models.categorizer.Categorizer.Language
 
EN - Static variable in class net.thexcoders.aladin_bot_backend.converters.LangConverter
 
EN - Static variable in class net.thexcoders.aladin_bot_backend.models.History
 

F

fileExists() - Method in class net.thexcoders.aladin_bot_backend.nlp_models.NLPModel
 
fileName - Variable in class net.thexcoders.aladin_bot_backend.nlp_models.NLPModel
 
FR - net.thexcoders.aladin_bot_backend.nlp_models.categorizer.Categorizer.Language
 
FR - Static variable in class net.thexcoders.aladin_bot_backend.converters.LangConverter
 
FR - Static variable in class net.thexcoders.aladin_bot_backend.models.History
 

G

generateFile() - Method in class net.thexcoders.aladin_bot_backend.nlp_models.NLPModel
 
getAll() - Method in class net.thexcoders.aladin_bot_backend.controllers.HistoryController
Gets all the history from the database to be displayed in the admin interface.
getCatCode() - Method in class net.thexcoders.aladin_bot_backend.nlp_models.categorizer.CategorizerImpl.CategoryResult
 
getCategories(String[]) - Method in interface net.thexcoders.aladin_bot_backend.nlp_models.ModelsOrchestrer
this method will get all the categories from the user inputs.
getCategories(String[]) - Method in class net.thexcoders.aladin_bot_backend.nlp_models.ModelsOrchestrerImpl
 
getCategory() - Method in class net.thexcoders.aladin_bot_backend.nlp_models.categorizer.CategorizerImpl.CategoryResult
 
getCategory(String[], Categorizer.Language, String) - Method in interface net.thexcoders.aladin_bot_backend.nlp_models.categorizer.Categorizer
this method is used to get the category of the tokenized sentence using the Tokenizer class.
getCategory(String[], Categorizer.Language, String) - Method in class net.thexcoders.aladin_bot_backend.nlp_models.categorizer.CategorizerImpl
 
getInput() - Method in class net.thexcoders.aladin_bot_backend.nlp_models.categorizer.CategorizerImpl.CategoryResult
 
getInstance() - Static method in interface net.thexcoders.aladin_bot_backend.nlp_models.categorizer.Categorizer
gets the instance of the class, if the instance is null it calls the constructor to create a new instance
getInstance() - Static method in class net.thexcoders.aladin_bot_backend.nlp_models.categorizer.CategorizerImpl
 
getProbability() - Method in class net.thexcoders.aladin_bot_backend.nlp_models.categorizer.CategorizerImpl.CategoryResult
 
GREETINGS - Static variable in class net.thexcoders.aladin_bot_backend.converters.CategoryConverter
 

H

History - Class in net.thexcoders.aladin_bot_backend.models
History Model to store the History of the transactions between the client and the bot to be used later to feed and improve the accuracy of the training Model.
History(String, CategorizerImpl.CategoryResult, String) - Constructor for class net.thexcoders.aladin_bot_backend.models.History
History Model Constructor
HistoryController - Class in net.thexcoders.aladin_bot_backend.controllers
History Controller: represents all the history of the communication between the user and the chatbot logged in the database.
HistoryController() - Constructor for class net.thexcoders.aladin_bot_backend.controllers.HistoryController
 
HistoryRepository - Interface in net.thexcoders.aladin_bot_backend.repositories
 

I

input - Variable in class net.thexcoders.aladin_bot_backend.nlp_models.categorizer.CategorizerImpl.CategoryResult
 
isEqual(CategorizerImpl.CategoryResult) - Method in class net.thexcoders.aladin_bot_backend.nlp_models.categorizer.CategorizerImpl.CategoryResult
this methods compares if two categories have the same code.
isEqual(CategorizerImpl.CategoryResult) - Method in class net.thexcoders.aladin_bot_backend.nlp_models.categorizer.CategoryResultImpl
 
isIn(List<CategorizerImpl.CategoryResult>) - Method in class net.thexcoders.aladin_bot_backend.nlp_models.categorizer.CategorizerImpl.CategoryResult
this method is used to make sure that the output doesn't have duplicate CategorizerImpl.CategoryResult
isIn(List<CategorizerImpl.CategoryResult>) - Method in class net.thexcoders.aladin_bot_backend.nlp_models.categorizer.CategoryResultImpl
 

L

LangConverter - Class in net.thexcoders.aladin_bot_backend.converters
 
LangConverter() - Constructor for class net.thexcoders.aladin_bot_backend.converters.LangConverter
 
LangDetector - Interface in net.thexcoders.aladin_bot_backend.nlp_models.language
This class is used to determine the language in which the user is communicating.
LangDetectorImpl - Class in net.thexcoders.aladin_bot_backend.nlp_models.language
This class is used to determine the language in which the user is communicating.
LangDetectorImpl() - Constructor for class net.thexcoders.aladin_bot_backend.nlp_models.language.LangDetectorImpl
 
langToCodeConverter(String) - Static method in class net.thexcoders.aladin_bot_backend.converters.LangConverter
Converting the Language from String to Integer
languageValue - Variable in enum net.thexcoders.aladin_bot_backend.nlp_models.categorizer.Categorizer.Language
 

M

ModelsOrchestrer - Interface in net.thexcoders.aladin_bot_backend.nlp_models
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.
ModelsOrchestrerImpl - Class in net.thexcoders.aladin_bot_backend.nlp_models
 
ModelsOrchestrerImpl(Categorizer.Language) - Constructor for class net.thexcoders.aladin_bot_backend.nlp_models.ModelsOrchestrerImpl
 

N

net.thexcoders.aladin_bot_backend.controllers - package net.thexcoders.aladin_bot_backend.controllers
 
net.thexcoders.aladin_bot_backend.converters - package net.thexcoders.aladin_bot_backend.converters
 
net.thexcoders.aladin_bot_backend.models - package net.thexcoders.aladin_bot_backend.models
 
net.thexcoders.aladin_bot_backend.nlp_models - package net.thexcoders.aladin_bot_backend.nlp_models
 
net.thexcoders.aladin_bot_backend.nlp_models.categorizer - package net.thexcoders.aladin_bot_backend.nlp_models.categorizer
 
net.thexcoders.aladin_bot_backend.nlp_models.language - package net.thexcoders.aladin_bot_backend.nlp_models.language
 
net.thexcoders.aladin_bot_backend.nlp_models.sentence - package net.thexcoders.aladin_bot_backend.nlp_models.sentence
 
net.thexcoders.aladin_bot_backend.nlp_models.tokenizer - package net.thexcoders.aladin_bot_backend.nlp_models.tokenizer
 
net.thexcoders.aladin_bot_backend.repositories - package net.thexcoders.aladin_bot_backend.repositories
 
NLPModel - Class in net.thexcoders.aladin_bot_backend.nlp_models
 
NLPModel() - Constructor for class net.thexcoders.aladin_bot_backend.nlp_models.NLPModel
 

P

PATH - Static variable in class net.thexcoders.aladin_bot_backend.nlp_models.NLPModel
 
probability - Variable in class net.thexcoders.aladin_bot_backend.nlp_models.categorizer.CategorizerImpl.CategoryResult
 

R

REJECTED - Static variable in class net.thexcoders.aladin_bot_backend.models.History
 
ResponseRepository - Interface in net.thexcoders.aladin_bot_backend.repositories
 
Responses - Class in net.thexcoders.aladin_bot_backend.models
Responses Model to store the Responses that will be sent to the user.
Responses(String, String) - Constructor for class net.thexcoders.aladin_bot_backend.models.Responses
Response Constructor that takes two parameters

S

SentenceDetector - Interface in net.thexcoders.aladin_bot_backend.nlp_models.sentence
This class is used to split the user input into the sentences
SentenceDetectorImplEng - Class in net.thexcoders.aladin_bot_backend.nlp_models.sentence
 
SentenceDetectorImplEng() - Constructor for class net.thexcoders.aladin_bot_backend.nlp_models.sentence.SentenceDetectorImplEng
 
SentenceDetectorImplFra - Class in net.thexcoders.aladin_bot_backend.nlp_models.sentence
 
SentenceDetectorImplFra() - Constructor for class net.thexcoders.aladin_bot_backend.nlp_models.sentence.SentenceDetectorImplFra
 
setCatCode(int) - Method in class net.thexcoders.aladin_bot_backend.nlp_models.categorizer.CategorizerImpl.CategoryResult
 
setCategory(String) - Method in class net.thexcoders.aladin_bot_backend.nlp_models.categorizer.CategorizerImpl.CategoryResult
 
setInput(String) - Method in class net.thexcoders.aladin_bot_backend.nlp_models.categorizer.CategorizerImpl.CategoryResult
 
setLang(String) - Method in class net.thexcoders.aladin_bot_backend.models.Responses
 
setProbability(double) - Method in class net.thexcoders.aladin_bot_backend.nlp_models.categorizer.CategorizerImpl.CategoryResult
 

T

TIME_DATA - Static variable in class net.thexcoders.aladin_bot_backend.converters.CategoryConverter
 
tokenize(String) - Method in interface net.thexcoders.aladin_bot_backend.nlp_models.tokenizer.Tokenizer
 
tokenize(String) - Method in class net.thexcoders.aladin_bot_backend.nlp_models.tokenizer.TokenizerImplEng
 
tokenize(String) - Method in class net.thexcoders.aladin_bot_backend.nlp_models.tokenizer.TokenizerImplFra
 
Tokenizer - Interface in net.thexcoders.aladin_bot_backend.nlp_models.tokenizer
The Tokenizer splits each sentence into an array of tokens that will be used to get the associated Category It is highly linked to Categorizer
TokenizerImplEng - Class in net.thexcoders.aladin_bot_backend.nlp_models.tokenizer
The Tokenizer splits each sentence into an array of tokens that will be used to get the associated Category It is highly linked to Categorizer
TokenizerImplEng() - Constructor for class net.thexcoders.aladin_bot_backend.nlp_models.tokenizer.TokenizerImplEng
 
TokenizerImplFra - Class in net.thexcoders.aladin_bot_backend.nlp_models.tokenizer
The Tokenizer splits each sentence into an array of tokens that will be used to get the associated Category It is highly linked to Categorizer
TokenizerImplFra() - Constructor for class net.thexcoders.aladin_bot_backend.nlp_models.tokenizer.TokenizerImplFra
 
toModelmap() - Method in class net.thexcoders.aladin_bot_backend.models.History
Generating a ModelMap instance using the instance attributes.
toModelMap() - Method in class net.thexcoders.aladin_bot_backend.nlp_models.categorizer.CategorizerImpl.CategoryResult
 
toModelMap() - Method in class net.thexcoders.aladin_bot_backend.nlp_models.categorizer.CategoryResultImpl
 
toSentences(String) - Method in interface net.thexcoders.aladin_bot_backend.nlp_models.ModelsOrchestrer
this method will prepare the list of sentences based on the user's input
toSentences(String) - Method in class net.thexcoders.aladin_bot_backend.nlp_models.ModelsOrchestrerImpl
 
toSentences(String) - Method in interface net.thexcoders.aladin_bot_backend.nlp_models.sentence.SentenceDetector
 
toSentences(String) - Method in class net.thexcoders.aladin_bot_backend.nlp_models.sentence.SentenceDetectorImplEng
 
toSentences(String) - Method in class net.thexcoders.aladin_bot_backend.nlp_models.sentence.SentenceDetectorImplFra
 
toString() - Method in class net.thexcoders.aladin_bot_backend.nlp_models.categorizer.CategoryResultImpl
 
train(String) - Method in interface net.thexcoders.aladin_bot_backend.nlp_models.categorizer.Categorizer
This method takes a lot of time to execute since it prepares the training Model for the categorizer based on the training Data provided in the CategorizerImpl() constructor} For optimization purposes, we Have used a singleton
train(String) - Method in class net.thexcoders.aladin_bot_backend.nlp_models.categorizer.CategorizerImpl
 

U

UNKNOWN - Static variable in class net.thexcoders.aladin_bot_backend.converters.LangConverter
 
UNKNOWN_CAT - Static variable in class net.thexcoders.aladin_bot_backend.converters.CategoryConverter
 
upload(String, ModelMap) - Method in class net.thexcoders.aladin_bot_backend.controllers.HistoryController
Uploads the file content and saves it to the model feeder based on the language selected and returns if the file has been updated or not

V

VALIDATED - Static variable in class net.thexcoders.aladin_bot_backend.models.History
 
valueOf(String) - Static method in enum net.thexcoders.aladin_bot_backend.nlp_models.categorizer.Categorizer.Language
Returns the enum constant of this type with the specified name.
values - Variable in class net.thexcoders.aladin_bot_backend.models.Responses
 
values() - Static method in enum net.thexcoders.aladin_bot_backend.nlp_models.categorizer.Categorizer.Language
Returns an array containing the constants of this enum type, in the order they are declared.

W

WAITING - Static variable in class net.thexcoders.aladin_bot_backend.models.History
 
A B C D E F G H I L M N P R S T U V W 
All Classes All Packages