Skip to content

Fix miscellaneous documentation typos and grammatical errors - #3019

Open
buildwithsuhana wants to merge 1 commit into
keras-team:masterfrom
buildwithsuhana:fix-documentation-typos
Open

Fix miscellaneous documentation typos and grammatical errors#3019
buildwithsuhana wants to merge 1 commit into
keras-team:masterfrom
buildwithsuhana:fix-documentation-typos

Conversation

@buildwithsuhana

Copy link
Copy Markdown
Contributor

Description of the change

This PR corrects several minor typos and grammatical errors found in docstrings, comments, and documentation across the repository to improve clarity and professional quality.

Summary of changes:

  • Duplicate words: Fixed instances of "and and" and "to to" in box_matcher.py, segformer_image_segmenter.py, and STYLE_GUIDE.md.
  • Article usage ("a" vs "an"): Corrected grammar for terms starting with vowel sounds (e.g., "an array", "an int", "an obscure bug") in sentence_piece_tokenizer.py, byte_pair_tokenizer.py, cached_multi_head_attention.py, and rotary_embedding.py.

Checklist

  • I have added all the necessary unit tests for my change.
  • I have verified that my change does not break existing code and works with all backends (TensorFlow, JAX, and PyTorch).
  • My PR is based on the latest changes of the main branch (if unsure, rebase the code).
  • I have followed the Keras Hub Model contribution guidelines in making these changes.
  • I have followed the Keras Hub API design guidelines in making these changes.
  • I have signed the Contributor License Agreement.

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request corrects several minor grammatical errors and typos across various files, including fixing duplicate words (such as 'to to' and 'and and') and correcting indefinite articles (such as 'a int' to 'an int', 'a obscure' to 'an obscure', and 'a array' to 'an array') in docstrings and comments. There are no review comments, and we have no additional feedback to provide.

@buildwithsuhana
buildwithsuhana force-pushed the fix-documentation-typos branch 3 times, most recently from c11dea3 to 7f99beb Compare August 28, 2026 13:36
@buildwithsuhana
buildwithsuhana force-pushed the fix-documentation-typos branch from 7f99beb to 87daf66 Compare August 28, 2026 14:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant