classifier

package
v0.0.0-...-2954126 Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2018 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsTopical

func IsTopical(pageContent string, keywords []string) bool

IsTopical function determines if a page matches a topic or not. Topic is represented by a set of keywords.

It is recommended to clean up the page before processing. For example, if the page is in HTML format (which they would be in most cases), then it would be a good idea to remove all the tags and do some other kind of processing, if necessary.

Types

This section is empty.

Jump to

Keyboard shortcuts

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