diff options
-rw-r--r-- | scalding/src/main/scala/sandcrawler/ScoreJob.scala | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/scalding/src/main/scala/sandcrawler/ScoreJob.scala b/scalding/src/main/scala/sandcrawler/ScoreJob.scala index 6d9cecd..02714ab 100644 --- a/scalding/src/main/scala/sandcrawler/ScoreJob.scala +++ b/scalding/src/main/scala/sandcrawler/ScoreJob.scala @@ -19,12 +19,12 @@ class ScoreJob(args: Args) extends JobBase(args) { .map { entry => val (slug : String, (features1 : ReduceFeatures, features2 : ReduceFeatures)) = entry new ReduceOutput( - slug, - Scorable.computeSimilarity(features1, features2), - features1.json, - features2.json) + slug, + Scorable.computeSimilarity(features1, features2), + features1.json, + features2.json) } - //TypedTsv doesn't work over case classes. + // TypedTsv doesn't work over case classes. .map { entry => (entry.slug, entry.score, entry.json1, entry.json2) } .write(TypedTsv[(String, Int, String, String)](args("output"))) } |