Created
July 13, 2018 17:08
-
-
Save jdkato/00275f7e3609c765a5b0ce5b8bca8a3a to your computer and use it in GitHub Desktop.
`prose` v2.0.0 API
This file contains hidden or 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
| 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