I made LexioJS: a NLP library built in VanillaJS

Hey there! I am thrilled to share my new project LexioJS,
A simple lightweight library,which allows you to perform NLP tasks,such as:

tokenization
stop word removal
NER
stemming
lemmatization
sentiment analysis

introduction

LexioJS i…


This content originally appeared on DEV Community and was authored by Somnath Pan

Hey there! I am thrilled to share my new project LexioJS,
A simple lightweight library,which allows you to perform NLP tasks,such as:

  • tokenization
  • stop word removal
  • NER
  • stemming
  • lemmatization
  • sentiment analysis

introduction

LexioJS is a very fast,simple & lightweight(~7.60 kb minified) NLP library,which allows you to perform all the basic NLP tasks.

features

  • tokenization
  • stop word removal
  • NER
  • stemming
  • lemmatization
  • sentiment analysis

getting started with LexioJS

Including LexioJS in your project using a CDN:



<script src="[https://cdn.jsdelivr.net/gh/SomnathDevPro/LexioJS@main/src/lexio.min.js]"></script>


You can refer to LexioJS docs for tutorials:
Documentation
GitHub repository

Use cases

  • Text Preprocessing
  • Sentiment Analysis
  • developing small ChatBots & virtual assistants

Drawbacks & Limitations

Although I've tried to build a comprehensive library,it has some limitations:

  • limited features: I have provided basic functionalities for NLP tasks,but it's important to note,that it lacks some other complex features such as POS tagging,dependency Parsing & ML integration.

-Currently Lexio only supports English language processing.

-sentiment analysis model may struggle with sarcasm & nuanced text.

I plan to address these limitations in future updates.


This content originally appeared on DEV Community and was authored by Somnath Pan


Print Share Comment Cite Upload Translate Updates
APA

Somnath Pan | Sciencx (2024-10-07T07:18:47+00:00) I made LexioJS: a NLP library built in VanillaJS. Retrieved from https://www.scien.cx/2024/10/07/i-made-lexiojs-a-nlp-library-built-in-vanillajs/

MLA
" » I made LexioJS: a NLP library built in VanillaJS." Somnath Pan | Sciencx - Monday October 7, 2024, https://www.scien.cx/2024/10/07/i-made-lexiojs-a-nlp-library-built-in-vanillajs/
HARVARD
Somnath Pan | Sciencx Monday October 7, 2024 » I made LexioJS: a NLP library built in VanillaJS., viewed ,<https://www.scien.cx/2024/10/07/i-made-lexiojs-a-nlp-library-built-in-vanillajs/>
VANCOUVER
Somnath Pan | Sciencx - » I made LexioJS: a NLP library built in VanillaJS. [Internet]. [Accessed ]. Available from: https://www.scien.cx/2024/10/07/i-made-lexiojs-a-nlp-library-built-in-vanillajs/
CHICAGO
" » I made LexioJS: a NLP library built in VanillaJS." Somnath Pan | Sciencx - Accessed . https://www.scien.cx/2024/10/07/i-made-lexiojs-a-nlp-library-built-in-vanillajs/
IEEE
" » I made LexioJS: a NLP library built in VanillaJS." Somnath Pan | Sciencx [Online]. Available: https://www.scien.cx/2024/10/07/i-made-lexiojs-a-nlp-library-built-in-vanillajs/. [Accessed: ]
rf:citation
» I made LexioJS: a NLP library built in VanillaJS | Somnath Pan | Sciencx | https://www.scien.cx/2024/10/07/i-made-lexiojs-a-nlp-library-built-in-vanillajs/ |

Please log in to upload a file.




There are no updates yet.
Click the Upload button above to add an update.

You must be logged in to translate posts. Please log in or register.