Skip to content

A word classifier training, testing and implementation done from scratch in Scala using Naive Bayes Classifier.

Notifications You must be signed in to change notification settings

santabasnet/Language-Detector-of-Words

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Language-Detector-of-Words

A word classifier training, testing and implementation done from scratch in Scala using Naive Bayes Classifier.

Usage:


    val detector = WordClassifier.init
    val words = "g]kfnLx¿ (country) df cr]n wdfwd crDdsf syfx¿ e}/x]sf 5g\\."
    val lists = words.split(" ").toList
    val output = lists.map(w => w -> detector.classify(w)).toMap
    println(output)

About

A word classifier training, testing and implementation done from scratch in Scala using Naive Bayes Classifier.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages