简体   繁体   中英

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

~> 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 )

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM