nlp

package module
v0.0.0-...-5369797 Latest Latest
Warning

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

Go to latest
Published: Feb 11, 2021 License: BSD-3-Clause Imports: 3 Imported by: 0

README

nlp Project

Provide NLP utilities for Go

Contact: miki@353solutions.com

Hacking

Running the Tests
make test

Documentation

Overview

Package nlp provides simple natural language processing utilities for Go

...

Index

Examples

Constants

This section is empty.

Variables

View Source
var StopWords = map[string]bool{}/* 119 elements not displayed */

Functions

func Tokenize

func Tokenize(text string) []string

Tokenize returns list of tokens in text

Example
package main

import (
	"fmt"

	"github.com/353solutions/nlp"
)

func main() {
	text := "Hi, how are you feeling today?"
	tokens := nlp.Tokenize(text)
	fmt.Println(tokens)

}
Output:

[hi feel today]

Types

This section is empty.

Directories

Path Synopsis
cmd

Jump to

Keyboard shortcuts

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