Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
bench
command
Command bench measures end-to-end latency of POST /v1/keywords.
|
Command bench measures end-to-end latency of POST /v1/keywords. |
|
build-rarity
command
Command build-rarity counts how many sentences each word appears in and writes a rarity table for package rarity.
|
Command build-rarity counts how many sentences each word appears in and writes a rarity table for package rarity. |
|
cleancheck
command
Command cleancheck checks that webtext.FromHTML keeps only the title and article body of the HTML snapshots in data-text.
|
Command cleancheck checks that webtext.FromHTML keeps only the title and article body of the HTML snapshots in data-text. |
|
eval
command
Command eval scores extractor output against hand-written labels.
|
Command eval scores extractor output against hand-written labels. |
|
readmeex
command
|
|
|
samples
command
Command samples sends every <dir>/<lang>/*.txt or <dir>/<lang>.txt file to the development HTTP server and prints the responses as Markdown for the snapshots in quality/.
|
Command samples sends every <dir>/<lang>/*.txt or <dir>/<lang>.txt file to the development HTTP server and prints the responses as Markdown for the snapshots in quality/. |
|
server
command
Command server serves the keyword extraction API and the page-text route.
|
Command server serves the keyword extraction API and the page-text route. |
|
sitewasm
command
Command sitewasm is the browser build of the extractor.
|
Command sitewasm is the browser build of the extractor. |
|
train-pos
command
Command train-pos trains a part-of-speech model for package postag from Universal Dependencies treebanks in CoNLL-U format.
|
Command train-pos trains a part-of-speech model for package postag from Universal Dependencies treebanks in CoNLL-U format. |
|
Package extractor finds a few short topical phrases that occur verbatim in plain text.
|
Package extractor finds a few short topical phrases that occur verbatim in plain text. |
|
internal
|
|
|
evalset
Package evalset reads and writes the list of held-out evaluation pages.
|
Package evalset reads and writes the list of held-out evaluation pages. |
|
httpapi
Package httpapi is the thin JSON-over-HTTP layer around the extractor and the page-text helper.
|
Package httpapi is the thin JSON-over-HTTP layer around the extractor and the page-text helper. |
|
webtext
Package webtext fetches a page and returns its title and main content.
|
Package webtext fetches a page and returns its title and main content. |
|
Package lang is the registry of language packs that the extractor looks up.
|
Package lang is the registry of language packs that the extractor looks up. |
|
all
Package all registers every built-in language.
|
Package all registers every built-in language. |
|
de
Package de registers the German language pack.
|
Package de registers the German language pack. |
|
en
Package en registers the English language pack.
|
Package en registers the English language pack. |
|
es
Package es registers the Spanish language pack.
|
Package es registers the Spanish language pack. |
|
fr
Package fr registers the French language pack.
|
Package fr registers the French language pack. |
|
it
Package it registers the Italian language pack.
|
Package it registers the Italian language pack. |
|
Package postag labels words with their part of speech (noun, verb, adjective, ...) so that the extractor can keep verbs out of keywords.
|
Package postag labels words with their part of speech (noun, verb, adjective, ...) so that the extractor can keep verbs out of keywords. |
|
Package rarity scores how uncommon a word is in a large general corpus.
|
Package rarity scores how uncommon a word is in a large general corpus. |
Click to show internal directories.
Click to hide internal directories.