Skip to content

Commit

Permalink
fixes getVectors to fit code guidelines
Browse files Browse the repository at this point in the history
  • Loading branch information
tkaessmann committed Nov 18, 2014
1 parent 3782fa9 commit a5be213
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -463,11 +463,11 @@ class Word2VecModel private[mllib] (
}

/**
* Returns the strings with it´s raw vectors for further processing
* Returns the strings with it's raw vectors for further processing
* (e.g. clustering)
* @return map of string to vector
*/
def getVectors(): Map[String, Array[Float]] = {
def getVectors: Map[String, Array[Float]] = {
model
}
}
}

0 comments on commit a5be213

Please sign in to comment.