Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Cleanup ¶
Get rid of tables, template calls, quasi-XML. Throws away their content.
Assumes tables, templates and tags are properly nested, except for spurious end-of-{table,template,element} tags, which are ignored.
func Download ¶
Download database dump for wikiname (e.g., "en", "sco", "nds_nl") from WikiMedia.
If path is not nil, writes the dump to path. Else, derives an appropriate path from the URL and returns that.
Logs its progress on the standard log if logProgress is true.
func ExtractLinks ¶
Extract all the wikilinks from s. Returns a frequency table.
Types ¶
Click to show internal directories.
Click to hide internal directories.