extract

package
v0.0.0-...-72bbb21 Latest Latest
Warning

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

Go to latest
Published: Feb 5, 2025 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Extract

type Extract struct {
	Offset  int    `json:"offset"`  // Offset of the extracted info
	Value   string `json:"value"`   // Value of the extracted info
	Value2  string `json:"value2"`  // Value2 of the extracted info
	Text    string `json:"text"`    // Text of the extracted info
	Context string `json:"context"` // Context of the extracted info
}

type WikiLinkExtractor

type WikiLinkExtractor struct {
	// contains filtered or unexported fields
}

func (*WikiLinkExtractor) Extract

func (w *WikiLinkExtractor) Extract(title, page string) iter.Seq[Extract]

Jump to

Keyboard shortcuts

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