Skip to content

Commit

Permalink
fix up swift prints
Browse files Browse the repository at this point in the history
  • Loading branch information
morganchen12 committed Nov 26, 2015
1 parent 45e0850 commit 9495b46
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions README.md
Expand Up @@ -39,7 +39,7 @@ import Parsimmon
```swift
let tokenizer = Tokenizer()
let tokens = tokenizer.tokenize("The quick brown fox jumps over the lazy dog")
println(tokens)
print(tokens)
```

```
Expand All @@ -62,7 +62,7 @@ dog
```swift
let tagger = Tagger()
let taggedTokens = tagger.tagWordsInText("The quick brown fox jumps over the lazy dog")
println(taggedTokens)
print(taggedTokens)
```

```
Expand All @@ -85,7 +85,7 @@ println(taggedTokens)
```swift
let lemmatizer = Lemmatizer()
let lemmatizedTokens = lemmatizer.lemmatizeWordsInText("Diane, I'm holding in my hand a small box of chocolate bunnies.")
println(lemmatizedTokens)
print(lemmatizedTokens)
```

```
Expand Down Expand Up @@ -126,8 +126,8 @@ classifier.trainWithText("and fish go blub", category: "spam")
let firstExample = "use the eggs in the fridge."
let secondExample = "what does the fish say?"

println("\(firstExample) => \(classifier.classify(firstExample))")
println("\(secondExample) => \(classifier.classify(secondExample))")
print("\(firstExample) => \(classifier.classify(firstExample))")
print("\(secondExample) => \(classifier.classify(secondExample))")
```

```
Expand Down

0 comments on commit 9495b46

Please sign in to comment.