Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/JalfResi/justext
/ functions
Functions
29 in github.com/JalfResi/justext
⨍
Functions
29
◇
Types & classes
5
↓ 3 callers
Function
getNextNeighbour
(i int, paragraphs []*Paragraph, ignoreNeargood bool)
reviseParagraphClassification.go:102
↓ 3 callers
Function
getPrevNeighbour
(i int, paragraphs []*Paragraph, ignoreNeargood bool)
reviseParagraphClassification.go:98
↓ 2 callers
Function
getNeighbour
(i int, paragraphs []*Paragraph, ignoreNeargood bool, inc int, boundary int)
reviseParagraphClassification.go:106
↓ 2 callers
Function
nodeIter
(n *html.Node, f nodeIterator)
preprocess.go:24
↓ 1 callers
Function
CopyNode
(node *html.Node, deep bool)
preprocess.go:94
↓ 1 callers
Function
DefaultTemplate
DefaultTemplate returns the binary data for a given file.
defaultTemplate.go:27
↓ 1 callers
Function
DetailedTemplate
DetailedTemplate returns the binary data for a given file.
detailedTemplate.go:158
↓ 1 callers
Method
OutputDebug
(paragraphs []*Paragraph)
writer.go:117
↓ 1 callers
Method
ReadAll
()
reader.go:37
↓ 1 callers
Method
WriteAll
(paragraphs []*Paragraph)
writer.go:36
↓ 1 callers
Function
addKwTags
(root *html.Node)
preprocess.go:31
↓ 1 callers
Function
classifyParagraphs
(paragraphs []*Paragraph, stoplist map[string]bool, lengthLow int, lengthHigh int, stopwordsLow float64, stopw
classifyParagraphs.go:12
↓ 1 callers
Function
insertNode
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 callers
Function
nodeTypeToString
(n *html.Node)
htmlRenderer.go:73
↓ 1 callers
Function
nodesToString
nodesToString loops over a node tree and generate HTML string Should be moved into html/utils package
htmlRenderer.go:30
↓ 1 callers
Method
outputDefault
(paragraphs []*Paragraph)
writer.go:64
↓ 1 callers
Method
outputDetailed
(paragraphs []*Paragraph)
writer.go:83
↓ 1 callers
Function
paragraphObjectModel
(htmlStr string)
paragraphObjectModel.go:63
↓ 1 callers
Function
preprocess
(htmlStr, encoding, defaultEncoding, encErrors string)
preprocess.go:9
↓ 1 callers
Function
removeElements
(root *html.Node, elementsToRemove []string)
preprocess.go:64
↓ 1 callers
Function
reviseParagraphClassification
Context-sensitive paragraph classification. Assumes that classify_pragraphs has already been called.
reviseParagraphClassification.go:4
Function
GetStoplist
(language string)
stoplists.go:140
Function
IsGood
(args ...interface{})
writer.go:53
Function
NewReader
(r io.Reader)
reader.go:24
Function
NewWriter
(w io.Writer)
writer.go:28
Function
ReadStoplist
* { "Afrikaans": AfrikaansStoplist, "Albanian": AlbanianStoplist, "Arabic": ArabicStoplist, "Aragone
stoplists.go:123
Function
RegisterStoplist
(name string, resourceFunc ResourceFunc)
stoplists.go:14
Function
dumpNodes
(n *html.Node, tab int, exploreChildNodes bool)
reader.go:70
Function
main
()
example/justext/main.go:25