lib_nlp

package
v0.3.41 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 10, 2025 License: BSD-3-Clause Imports: 6 Imported by: 0

README

NLP utilities

This module contains utility methods for text analysis.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type NLPHelper

type NLPHelper struct {
}
var NLP *NLPHelper

func NewNLPHelper

func NewNLPHelper() *NLPHelper

func (*NLPHelper) Emails

func (instance *NLPHelper) Emails(text string) (response []string)

func (*NLPHelper) Keywords

func (instance *NLPHelper) Keywords(text string, max int) (response []string)

func (*NLPHelper) LangCode

func (instance *NLPHelper) LangCode(text string) (response string)

func (*NLPHelper) LinkFactor

func (instance *NLPHelper) LinkFactor(text string) (response float64)
func (instance *NLPHelper) Links(text string) (response []string)

func (*NLPHelper) LinksUnsubscribe

func (instance *NLPHelper) LinksUnsubscribe(links []string) (response []string)

func (*NLPHelper) Summary

func (instance *NLPHelper) Summary(text string) (response string)

func (*NLPHelper) TagCloud

func (instance *NLPHelper) TagCloud(text string) (response *gg_tagcloud.TagCloudList)

func (*NLPHelper) TagCloudAsMap

func (instance *NLPHelper) TagCloudAsMap(text string, max int) (response map[string]interface{})

func (*NLPHelper) TagCloudAsMapAndNames

func (instance *NLPHelper) TagCloudAsMapAndNames(text string, max int) (tagMap map[string]interface{}, tagArray []string)

func (*NLPHelper) WordCount

func (instance *NLPHelper) WordCount(text string) int

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL