Skip to content
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.

Fix incorrect variable name in tutorial code #13052

Merged
merged 1 commit into from
Nov 2, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/tutorials/scala/char_lstm.md
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ To prepare the data:
```scala
scala> // Build a vocabulary of what char we have in the content
scala> def buildVocab(path: String): Map[String, Int] = {
val content = readContent(dataPath).split("\n")
val content = readContent(path).split("\n")
var idx = 1 // 0 is left for zero padding
var theVocab = Map[String, Int]()
for (line <- content) {
Expand Down