excerpt

package
v1.49.2 Latest Latest
Warning

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

Go to latest
Published: Jul 18, 2017 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