docs: typos and fixes

1:D400: First line should end with '.', not 's'
1:D205: Blank line missing between one-line summary and description
1:D208: Docstring is over-indented
30:D202: No blank lines allowed *after* function docstring, found 1
30:D400: First line should end with '.', not 't'
33:D401: First line should be imperative: 'Return', not 'Returns'
43:D401: First line should be imperative: 'Thi', not 'This'
43:D202: No blank lines allowed *after* function docstring, found 1
58:D401: First line should be imperative: 'Trie', not 'Tries'
58:D400: First line should end with '.', not 'g'
58:D205: Blank line missing between one-line summary and description
79:D401: First line should be imperative: 'Trie', not 'Tries'
3: I102 copyright year is outdated, expected 2014 but got 2013