Skip to content

Commit

Permalink
Rename documentation file WordShape.md to WordShape_cls.md. The probl…
Browse files Browse the repository at this point in the history
…em is on MacOS (and maybe Windows) this filename collides with wordshape.md, because the filesystem does not differentiate cases for the files. This is purely a QOL change for anybody checking out the library on a non-Linux platform. Fix #361.

PiperOrigin-RevId: 348508297
  • Loading branch information
broken committed Dec 22, 2020
1 parent ce25fdd commit c1239e7
Show file tree
Hide file tree
Showing 5 changed files with 447 additions and 252 deletions.
2 changes: 1 addition & 1 deletion docs/api_docs/python/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
* <a href="./text/UnicodeCharTokenizer.md"><code>text.UnicodeCharTokenizer</code></a>
* <a href="./text/UnicodeScriptTokenizer.md"><code>text.UnicodeScriptTokenizer</code></a>
* <a href="./text/WhitespaceTokenizer.md"><code>text.WhitespaceTokenizer</code></a>
* <a href="./text/WordShape.md"><code>text.WordShape</code></a>
* <a href="./text/WordShape_cls.md"><code>text.WordShape</code></a>
* <a href="./text/WordpieceTokenizer.md"><code>text.WordpieceTokenizer</code></a>
* <a href="./text/case_fold_utf8.md"><code>text.case_fold_utf8</code></a>
* <a href="./text/coerce_to_structurally_valid_utf8.md"><code>text.coerce_to_structurally_valid_utf8</code></a>
Expand Down
2 changes: 1 addition & 1 deletion docs/api_docs/python/text.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ allocates a length budget to segments in order.
[`class WhitespaceTokenizer`](./text/WhitespaceTokenizer.md): Tokenizes a tensor
of UTF-8 strings on whitespaces.

[`class WordShape`](./text/WordShape.md): Values for the 'pattern' arg of the
[`class WordShape`](./text/WordShape_cls.md): Values for the 'pattern' arg of the
wordshape op.

[`class WordpieceTokenizer`](./text/WordpieceTokenizer.md): Tokenizes a tensor
Expand Down
249 changes: 0 additions & 249 deletions docs/api_docs/python/text/WordShape.md

This file was deleted.

Loading

0 comments on commit c1239e7

Please sign in to comment.