A Factory pattern or Factory method pattern is very common design pattern used in software development,its is classified as creational pattern. which solves the problem of creating the instance of the class
As we know Scala as language is getting popular in data science or general programming field, for its functional programming traits as well object oriented behaviour also Scala runs on JVM so we
POS tagging is the process of marking up a word in a corpus to a corresponding part of a speech tag, based on its context and definition. This task is not straightforward, as
Object
so in scala object is a singleton instance of the class, lets explain with small snippet.
object test {
def addPlusOne(a:Int) = a+1;
}
So when your calling the function instance is
If your starting with machine learning, after cleaning the data you end up with Normalising data, this is where encoding techniques comes in handy. there are lot of data encoding techniques but we