Last active
October 21, 2015 19:34
-
-
Save Cowa/005a3b44eb8450bc0315 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
val source = "The blue sky is near the red koala near the blue sky" | |
val tokens = source.split(" ").toList | |
// List(The, blue, sky, is, near, the, red, koala, near, the, blue, sky) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment