excerpt

package
v0.16.1 Latest Latest
Warning

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

Go to latest
Published: Aug 15, 2016 License: AGPL-3.0 Imports: 6 Imported by: 0

Documentation

Overview

Package excerpt provides basic functionality to create excerpts of text in English.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Excerpt

func Excerpt(titleWords, bodyWords []string) string

Excerpt returns the most statically significant 100 or so words of text for use in the Excerpt field

Types

This section is empty.

Jump to

Keyboard shortcuts

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