Skip to content

Instantly share code, notes, and snippets.

@samueleresca
Last active April 23, 2019 06:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save samueleresca/a97e368bf931a2499ccaaf200bc90ff6 to your computer and use it in GitHub Desktop.
Save samueleresca/a97e368bf931a2499ccaaf200bc90ff6 to your computer and use it in GitHub Desktop.
let tokenizeLyrics (lyrics: seq<LyricsInput>) =
...
let transformedData = pipeline.Fit(data).Transform(data)
transformedData.GetColumn<string[]>(mlContext, "LyricsWithNoStopWords")
|> Seq.concat
|> Seq.toList
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment