Skip to content

NFC - minor spelling tweaks under compiler directory - #34958

Merged
tensorflow-copybara merged 3 commits into
tensorflow:masterfrom
kiszk:spelling_tweaks_compiler
Dec 16, 2019
Merged

tensorflow-copybara merged 3 commits into
tensorflow:masterfrom
kiszk:spelling_tweaks_compiler

Conversation

@kiszk

@kiszk kiszk commented Dec 9, 2019

Copy link
Copy Markdown
Contributor

This PR addresses minor spelling tweaks under tensorflow/compiler directory. In addition, RELEASE.MD is also addressed.

@tensorflow-bot tensorflow-bot Bot added the size:L CL Change Size: Large label Dec 9, 2019
@kiszk

kiszk commented Dec 9, 2019

Copy link
Copy Markdown
Contributor Author

Would it be possible to let me know if smaller PRs (e.g. 100 files per PR) are better for ease of review? I will split this into two PRs.

@gbaned gbaned self-assigned this Dec 9, 2019
@gbaned
gbaned requested a review from mihaimaruseac December 9, 2019 11:01
@kiszk kiszk changed the title NFC - minor spelling tweaks in md files NFC - minor spelling tweaks under compiler directory Dec 9, 2019
mihaimaruseac
mihaimaruseac previously approved these changes Dec 9, 2019

@mihaimaruseac mihaimaruseac 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.

That is great! Thank you for the PR.

Did you use a script to do the fixing? If yes, can you please share it too?

// instruction is removable for a fusion computation.
//
// Note that IsSafelyRemovable() is a necassarily condition to remove an
// Note that IsSafelyRemovable() is a necessarily condition to remove an

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.

necessary?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Good catch, done!

@tensorflow-bot tensorflow-bot Bot added kokoro:force-run Tests on submitted change ready to pull PR ready for merge process labels Dec 9, 2019
@kokoro-team kokoro-team removed the kokoro:force-run Tests on submitted change label Dec 9, 2019
@tensorflow-bot tensorflow-bot Bot added the kokoro:force-run Tests on submitted change label Dec 9, 2019
@kokoro-team kokoro-team removed the kokoro:force-run Tests on submitted change label Dec 9, 2019
@kiszk

kiszk commented Dec 9, 2019

Copy link
Copy Markdown
Contributor Author

I use a script to list up potential candidates. The script lists up a lot of false positives. Finally, I manually find and fix them.
Does my script help you even if it looks premature?

An example of outputs

...
abstrat
absw
absx
abt
abuf
abx
abz
aca
acad
acat
acb
acbb
acbd
acc
accbuffer
acccbbdddd
accd
acce
accel
...

@mihaimaruseac

Copy link
Copy Markdown
Contributor

We might need to use the script internally to convert tooling that expects some of the same typos to exist.

@kiszk

kiszk commented Dec 9, 2019

Copy link
Copy Markdown
Contributor Author

I use this script from https://qiita.com/debility/items/d3b24bc9a941241e82b8

find . -type f -print |xargs file |grep text |awk -F' ' '{print $1}' |sed -e 's/://g' |xargs cat |sed "s/[A-Z][a-z]/ \0/g" |tr '[A-Z]' '[a-z]' |aspell list |sort|uniq

@kiszk

kiszk commented Dec 9, 2019

Copy link
Copy Markdown
Contributor Author

I am working for other directories now.

@gbaned gbaned added ready to pull PR ready for merge process and removed ready to pull PR ready for merge process labels Dec 13, 2019
tensorflow-copybara pushed a commit that referenced this pull request Dec 16, 2019
PiperOrigin-RevId: 285793343
Change-Id: I20bc2b8ca24d5fee4613f12abeba48957f80221f
@tensorflow-copybara
tensorflow-copybara merged commit 9dfd369 into tensorflow:master Dec 16, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla: yes ready to pull PR ready for merge process size:L CL Change Size: Large

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants