Skip to content

Commit

Permalink
doc update
Browse files Browse the repository at this point in the history
  • Loading branch information
amaiya committed Feb 20, 2024
1 parent b7ddcb5 commit fd22ef5
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 843 deletions.
2 changes: 0 additions & 2 deletions docs/text/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1382,8 +1382,6 @@ <h2 id="return">Return</h2>
&#34;&#34;&#34;
if encoding is None:
with open(train_filepath, &#34;rb&#34;) as f:
# encoding = chardet.detect(f.read())[&#39;encoding&#39;]
# encoding = &#39;utf-8&#39; if encoding.lower() in [&#39;ascii&#39;, &#39;utf8&#39;, &#39;utf-8&#39;] else encoding
encoding = TU.detect_encoding(f.read())
U.vprint(
&#34;detected encoding: %s (if wrong, set manually)&#34; % (encoding),
Expand Down
Loading

0 comments on commit fd22ef5

Please sign in to comment.