Skip to content

Instantly share code, notes, and snippets.

@jdkato
Created July 13, 2018 17:08
Show Gist options
  • Select an option

  • Save jdkato/00275f7e3609c765a5b0ce5b8bca8a3a to your computer and use it in GitHub Desktop.

Select an option

Save jdkato/00275f7e3609c765a5b0ce5b8bca8a3a to your computer and use it in GitHub Desktop.
`prose` v2.0.0 API
package main
import (
"gopkg.in/jdkato/prose.v2"
)
func main() {
// You can pass "functional options" to control the document-creation
// pipeline -- e.g., `prose.WithExtraction(false)` disables named-entity
// extraction.
doc, err := prose.NewDocument(
"Go is an open-source programming language created at Google.",
prose.WithExtraction(false))
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment