Soumya Simanta
Soumya Simanta

Reputation: 11741

Meaning of operator ~> in Scala ?

I'm trying to understand if this operator (~>) means any in Scala or if it's domain specific?

I'm trying to understand the Scala code here. http://nlp.stanford.edu/software/tmt/tmt-0.4/examples/example-1-dataset.scala

Upvotes: 1

Views: 192

Answers (1)

Régis Jean-Gilles
Régis Jean-Gilles

Reputation: 32719

~> has no special meaning in scala. In this case, it is just a method defined by ScalaNLP Breeze (See http://www.scalanlp.org/api/#breeze.text.tokenize.Tokenizer)

Upvotes: 3

Related Questions