Versions in this module Expand all Collapse all v1 v1.0.0 Jun 19, 2021 Changes in this version + var AuthorChars = 40_000 + var IgnoreHTMLTags = map[string]struct + var PageChars = 1_860 + type Counter struct + Chars int + Numbers int + Puncts int + Spaces int + Words int + func Bytes(b []byte) (c Counter) + func FromHTML(r io.Reader) (c Counter, err error) + func ReadFrom(r io.Reader) (c Counter, err error) + func String(s string) (c Counter) + func Sum(counters ...Counter) (c Counter) + func (c *Counter) ReadFrom(r io.Reader) (n int64, err error) + func (c *Counter) Reset() + func (c *Counter) Write(s []byte) (n int, err error) + func (c *Counter) WriteString(s string) (n int, err error) + func (c Counter) AuthorPages() float32 + func (c Counter) Duration(wps int) time.Duration + func (c Counter) Pages() int + func (c Counter) String() string