tr ' ' '\12' <FILE_NAME.txt| sort | uniq -c | sort -nr > result.txt
8K words, yes that’s true!
I now needed a way to automatically add all the words into iPhone text replacements. After a quick search, I dwelled into two thoughts to do the same.
~/Library/Spelling/LocalDictionarybut it does not sync at all!
+part is not supported in the Shortcuts app.
I did not find a very comprehensive answer to this problem and I hope Apple will resolve this issue by adding either learning words on-the-go or by allowing some sort of multilingual dictionary in English writing system (Roman/Latin alphabets). But before that day comes, maybe life will continue to be hard for iPhone users.
I have put
unreleasedin the blog’s title, just to denote that this problem has not yet been resolved!
Shortcuts Gallery website (here) provides a great list of shortcuts that can be built for iPhone.
MacStories provides a list of all shortcut URLs to land on a certain settings page.
My shortcut was based on pulling the dictionary from the iCloud line by line and putting into the
Settings app. Here is a sneak peek of what I wrote in the
Shortcuts app. Note that it misses the final action where we click on (
After I wrote this blog, my good friend Sushant reached out to me claiming that this feature is covered by
Hindi(Latin) keyboard which appears in
All Other Keyboards section. I have tested this out just for a day and it seems to consistently miss out my commonly used words. I think I can safely conclude that
Hindi-Latin keyboard does not learn words on-the-go using my type history like how Android counterparts do.
iOS mobile Keyboard