MCPcopy Create free account

hub / github.com/JalfResi/justext / functions

Functions29 in github.com/JalfResi/justext

↓ 3 callersFunctiongetNextNeighbour
(i int, paragraphs []*Paragraph, ignoreNeargood bool)
reviseParagraphClassification.go:102
↓ 3 callersFunctiongetPrevNeighbour
(i int, paragraphs []*Paragraph, ignoreNeargood bool)
reviseParagraphClassification.go:98
↓ 2 callersFunctiongetNeighbour
(i int, paragraphs []*Paragraph, ignoreNeargood bool, inc int, boundary int)
reviseParagraphClassification.go:106
↓ 2 callersFunctionnodeIter
(n *html.Node, f nodeIterator)
preprocess.go:24
↓ 1 callersFunctionCopyNode
(node *html.Node, deep bool)
preprocess.go:94
↓ 1 callersFunctionDefaultTemplate
DefaultTemplate returns the binary data for a given file.
defaultTemplate.go:27
↓ 1 callersFunctionDetailedTemplate
DetailedTemplate returns the binary data for a given file.
detailedTemplate.go:158
↓ 1 callersMethodOutputDebug
(paragraphs []*Paragraph)
writer.go:117
↓ 1 callersMethodReadAll
()
reader.go:37
↓ 1 callersMethodWriteAll
(paragraphs []*Paragraph)
writer.go:36
↓ 1 callersFunctionaddKwTags
(root *html.Node)
preprocess.go:31
↓ 1 callersFunctionclassifyParagraphs
(paragraphs []*Paragraph, stoplist map[string]bool, lengthLow int, lengthHigh int, stopwordsLow float64, stopw
classifyParagraphs.go:12
↓ 1 callersFunctioninsertNode
insertsNode inserts a Node in a Node tree at the position of another node. Should be moved into html/utils package
preprocess.go:84
↓ 1 callersFunctionnodeTypeToString
(n *html.Node)
htmlRenderer.go:73
↓ 1 callersFunctionnodesToString
nodesToString loops over a node tree and generate HTML string Should be moved into html/utils package
htmlRenderer.go:30
↓ 1 callersMethodoutputDefault
(paragraphs []*Paragraph)
writer.go:64
↓ 1 callersMethodoutputDetailed
(paragraphs []*Paragraph)
writer.go:83
↓ 1 callersFunctionparagraphObjectModel
(htmlStr string)
paragraphObjectModel.go:63
↓ 1 callersFunctionpreprocess
(htmlStr, encoding, defaultEncoding, encErrors string)
preprocess.go:9
↓ 1 callersFunctionremoveElements
(root *html.Node, elementsToRemove []string)
preprocess.go:64
↓ 1 callersFunctionreviseParagraphClassification
Context-sensitive paragraph classification. Assumes that classify_pragraphs has already been called.
reviseParagraphClassification.go:4
FunctionGetStoplist
(language string)
stoplists.go:140
FunctionIsGood
(args ...interface{})
writer.go:53
FunctionNewReader
(r io.Reader)
reader.go:24
FunctionNewWriter
(w io.Writer)
writer.go:28
FunctionReadStoplist
* { "Afrikaans": AfrikaansStoplist, "Albanian": AlbanianStoplist, "Arabic": ArabicStoplist, "Aragone
stoplists.go:123
FunctionRegisterStoplist
(name string, resourceFunc ResourceFunc)
stoplists.go:14
FunctiondumpNodes
(n *html.Node, tab int, exploreChildNodes bool)
reader.go:70
Functionmain
()
example/justext/main.go:25