Documentation ¶
Overview ¶
Code generated by re2c 3.1, DO NOT EDIT.
Code generated by re2c 3.1, DO NOT EDIT.
Code generated by re2c 3.1, DO NOT EDIT.
Code generated by re2c 3.1, DO NOT EDIT.
Code generated by re2c 3.1, DO NOT EDIT.
Code generated by re2c 3.1, DO NOT EDIT.
Code generated by re2c 3.1, DO NOT EDIT.
Index ¶
- func ContainsFirstLast(input string) bool
- func FixTempNewline(input string) string
- func IsByline(input string) bool
- func IsExtraneousToPagination(input string) bool
- func IsMightBeLinkPagination(input string) bool
- func IsMightBePagination(input string) bool
- func IsNegativeToBePagination(input string) bool
- func IsNextPaginationLink(input string) bool
- func IsPositiveToBePagination(input string) bool
- func IsPrevPaginationLink(input string) bool
- func IsTerminatingBlocks(input string) bool
- func IsUnlikelyCandidates(input string) bool
- func MaybeItsACandidate(input string) bool
- func RemoveDtmCharacters(input string) string
- func TidyUpPunctuation(input string) string
- func UseFullWordCounter(input string) bool
- func UseLetterWordCounter(input string) bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ContainsFirstLast ¶
Original pattern: (?i)(first|last)
func IsExtraneousToPagination ¶
Original pattern: (?i)print|archive|comment|discuss|e[\-]?mail|share|reply|all|login|sign|single|as one|article|post|篇
func IsMightBeLinkPagination ¶
Original pattern: (?i)p(a|g|ag)?(e|ing|ination)?(=|\/)[0-9]{1,2}$
func IsMightBePagination ¶
Original pattern: (?i)pag(e|ing|inat)
func IsNegativeToBePagination ¶
Original pattern: (?i)combx|comment|com-|contact|foot|footer|footnote|masthead|media|meta|outbrain|promo|related|shoutbox|sidebar|sponsor|shopping|tags|tool|widget
func IsNextPaginationLink ¶
Original pattern: (?i)(next|weiter|continue|>([^\|]|$)|»([^\|]|$))
func IsPositiveToBePagination ¶
Original pattern: (?i)article|body|content|entry|hentry|main|page|pagination|post|text|blog|story
func IsPrevPaginationLink ¶
Original pattern: (?i)(prev|early|old|new|<|«)
func IsTerminatingBlocks ¶
func IsUnlikelyCandidates ¶
Original pattern: (?i)-ad-|ai2html|banner|breadcrumbs|combx|comment|community|cover-wrap|disqus|extra|footer|gdpr|header|legends|menu|related|remark|replies|rss|shoutbox|sidebar|skyscraper|social|sponsor|supplemental|ad-break|agegate|pagination|pager|popup|yom-remote
func MaybeItsACandidate ¶
Original pattern: (?i)and|article|body|column|content|main|shadow
func RemoveDtmCharacters ¶
Original pattern: (?i)[\?\!\.\-\:]+
func TidyUpPunctuation ¶
Original pattern: \s+([.?!,;])\s*(\S*)
func UseFullWordCounter ¶
Original pattern: [\x{3040}-\x{A4CF}]
func UseLetterWordCounter ¶
Original pattern: [\x{AC00}-\x{D7AF}]
Types ¶
This section is empty.