Documentation ¶
Overview ¶
Package textprocessing is a golang wrapper / client for the text-processing.com APIs.
Index ¶
Constants ¶
View Source
const PhraseApiUrl = "http://text-processing.com/api/phrases/"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PhraseExtractionResult ¶
PhraseExtractionResult represents a result from the Phrase Extraction API.
func ExtractPhrase ¶
func ExtractPhrase(text string) (PhraseExtractionResult, error)
ExtractPhrase sends the given text to the Phrase Extraction and Named Entity Recognition API and results gives the result back. Use this for English-only analysis.
func ExtractPhraseByLanguage ¶
func ExtractPhraseByLanguage(text string, language string) (PhraseExtractionResult, error)
ExtractPhrase sends the given text to the Phrase Extraction and Named Entity Recognition API with the provided language as context and results gives the result back.
Click to show internal directories.
Click to hide internal directories.