Skip to content

Instantly share code, notes, and snippets.

View ThomasSmyth's full-sized avatar
⌨️
Is typing

Thomas Smyth ThomasSmyth

⌨️
Is typing
View GitHub Profile
/ see https://github.com/Senthilvadivel-20/NLP_in_KDB/blob/main/Navie_Bayes.ipynb
/ Example words
positive: "I am happy because I today am learning NLP I am happy not sad hello guys how are you this is good evening I going to office today great evening"
negative: "I am sad I am not learning NLP today I am sad not happy this is bad evening I take leave today today is not good worst of all"
/Convert the words to symbol list
/ Does case matter? If so convert to lower case
pos_lis:`$" " vs positive;