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 authored and tf-text-github-robot committed Dec 21, 2020
1 parent 3b2825b commit d57e6fd
Show file tree
Hide file tree
Showing 4 changed files with 67 additions and 67 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 @@ -85,7 +85,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
Loading

0 comments on commit d57e6fd

Please sign in to comment.