candidates = known(Set(word)) or known(edits1(word)) or known_edits2(word
    ) or Set(word)
candidates.max(Ordering.fromLessThan[String](NWORDS(_) < NWORDS(_)))
How can I approximate Python's or operator for set comparison in Scala?