vitor Posted December 8, 2013 Share Posted December 8, 2013 (edited) This workflow is officially deprecated due to a dead API. There are alternatives in the replies. You can find the old source on Github. Check and correct spelling in various languages. There are six configurable keyboard shortcuts, but you’ll typically need to setup only between one and three. Select a word and press a shortcut — the first one will show you the word following Alfred’s spell keyword, so you’ll have a set of words to pick from for the substitution (to have it automatically switch the word in this case, you’ll need to set it up in Alfred’s preferences under Features → Dictionary). The following five will immediately replace the word with the best suggestion (using the After the Deadline service). Edited August 31, 2022 by vitor blizzrdof77 1 Link to comment
vitor Posted October 5, 2016 Author Share Posted October 5, 2016 Update. It now uses OneUpdater, so this should be the last time you need to manually update. Link to comment
sete Posted April 8, 2017 Share Posted April 8, 2017 The developer told me to perform the following setup for Spanish and Portuguese: "Look at the Hotkey nodes on the left. Double click any of them except the first, and on the Prefix you’ll see one of en, fr, de, pt, es. Assign them any keyboard shortcut you want. When you activate the shortcut, the language in the Prefix will be the one used." The problem is that when I type the shortcut for Spanish/Portuguese nothing happens. It it works perfectly well in english. I think that I'm missing something in the configuration of my dictionaries or I'm doing something wrong..... @Vero Can you give me some advice? @Vero Link to comment
vitor Posted April 9, 2017 Author Share Posted April 9, 2017 16 hours ago, sete said: The developer told me I am the developer. I’m here everyday. 16 hours ago, sete said: I think that I'm missing something in the configuration of my dictionaries or I'm doing something wrong. This does not use your dictionary, it uses a web service. How are you using the workflow? Only the first hotkey shows Alfred, for the others you’re supposed to select a word a run the hotkey then. Link to comment
sete Posted April 9, 2017 Share Posted April 9, 2017 I'm selecting a word and then pressing my hotkeys (command+option+W for english)/(command+option+E for spanish). When pressing the "English" hotkey everything works perfect. But nothings happens when pressing the Spanish hotkeys. Link to comment
vitor Posted April 9, 2017 Author Share Posted April 9, 2017 (edited) Like I said, that spell example that calls the dictionary is only for English. That is not what the workflow is about. You’re supposed to write something, select it, and press the hotkey so the text is replaced with a correction. Edited April 9, 2017 by vitor Link to comment
sete Posted April 9, 2017 Share Posted April 9, 2017 An example of what I'm doing. I'm going to select the word "comida" for you to see what happens when I type the shortcut (nothing happens). Link to comment
vitor Posted April 10, 2017 Author Share Posted April 10, 2017 9 hours ago, sete said: I'm going to select the word "comida" for you to see what happens when I type the shortcut (nothing happens). Nothing happens because “comida” is a word that exists. If you spellcheck a word that exists, it stays the same. Do it on a fake word, like “conxeguir”. deanishe 1 Link to comment
deanishe Posted April 10, 2017 Share Posted April 10, 2017 28 minutes ago, vitor said: Nothing happens because “comida” is a word that exists. You mean it doesn't also replace correctly-spelled words with wrong ones? What's the point of that? Link to comment
sete Posted April 10, 2017 Share Posted April 10, 2017 I was waiting like a set of word options to pick the best one. In any case, thank you for all the workflows. Obrigado!!!! Desculpe pelo inconveniente. vitor 1 Link to comment
vitor Posted June 11, 2017 Author Share Posted June 11, 2017 Update. New icon and other small fixes. To update, download the latest version (same URL) or wait a few days (15 or less) and it’ll prompt you to on next usage, since it uses OneUpdater. Link to comment
2Pants Posted June 29, 2020 Share Posted June 29, 2020 (edited) Hello @vitor Am I doing something wrong using your tool? I'm trying the english shortcut where it should replace the misspelled word with the highest suggested correct word. It doesn't seem to replace it. I can tell something is happening becuase I see the edit menu flash on my mac. But it doesn't replace the selected word. I've tried this in Notes and TextEdit on my Mac. The "Show with alfred's spell keyword" pops up the menu just fine. But when I select something, it doesn't overwrite the highlighted text either. Any suggestions?https://imgur.com/ILmlrl1 https://imgur.com/WvEyasP I think this might be a permissions issue, I posted a question here: Edited June 29, 2020 by 2Pants Link to comment
vitor Posted July 2, 2020 Author Share Posted July 2, 2020 @2Pants You’re not doing anything wrong. The API I use for the Workflow hasn’t been working (no discernible reason, everything else looks the same) and I haven’t yet found a replacement. Alternatives:Find another API.Use a local spell checker. Problems:Other spell checking APIs are paid or require registration.CLI spell checkers don’t provide compiled self-contained versions, and the ones in Homebrew are dependent on hard-coded locations. I haven’t yet explored the viability of compiling them myself, which even if successful would lead to another slew of problems because it would mean I’d have to host them myself (which I don’t want) or possibly make the Workflow’s license more restrictive, due to the GPL (which these spellcheckers all seem to be under). So it is possible to fix the Workflow, but I haven’t yet found a solution that doesn’t make some setup work for the user. Link to comment
2Pants Posted July 2, 2020 Share Posted July 2, 2020 @vitor Got it. Thanks for the update. One mythical day when I have free time I'll update this to use a local spell checker and post the solution. It'll be one day when I miss-spell the same word 50 times and get frustrated/motivated! Link to comment
vitor Posted July 2, 2020 Author Share Posted July 2, 2020 Getting a local dictionary to work is easy. The hard part is making it a good experience where the user doesn’t have to do any external setup. Link to comment
2Pants Posted July 2, 2020 Share Posted July 2, 2020 4 hours ago, vitor said: Getting a local dictionary to work is easy. The hard part is making it a good experience where the user doesn’t have to do any external setup. What do you mean? Say if I use a python script for example. The user would have to have that version of python installed and those python packages installed. Is that what you're referring to? Yeah that's where the API has an advantage. Link to comment
vitor Posted July 2, 2020 Author Share Posted July 2, 2020 3 hours ago, 2Pants said: Say if I use a python script for example. The user would have to have that version of python installed and those python packages installed. Is that what you're referring to? Yes. You could do pip install something or brew install something, hardcode those installation paths in your Workflow, and get it done quickly. But then it’s a worse experience for other people, because you have to explain external steps they have to perform. If my Workflows have dependencies, I make sure they’re bundled or automatically / easily gettable from within the Workflow and that it doesn’t mess with people’s setup outside the Workflow. Link to comment
vitor Posted October 23, 2021 Author Share Posted October 23, 2021 For now I’m opting to deprecate this one. The API has been dead for a while and haven’t found an acceptable alternative. Link to comment
oldcai Posted February 17, 2022 Share Posted February 17, 2022 On 10/23/2021 at 1:43 PM, vitor said: For now I’m opting to deprecate this one. The API has been dead for a while and haven’t found an acceptable alternative. I've built an API for this and fixed the CheckSpelling workflow. I can be the new maintainer of this plugin or request a PR to your repo. Link to comment
vitor Posted February 18, 2022 Author Share Posted February 18, 2022 3 hours ago, oldcai said: I can be the new maintainer of this plugin or request a PR to your repo. I’ll gladly review a PR but don’t intend to transfer ownership of the Workflow. You can also fork it for yourself but if you do change the name and icon so there’s no confusion of intent or origin. While the code is open-source and you can use it as you like, neither the name nor the icon are. Also, your mention of “and is now maintained by @oldcai” makes it seem like I officially gave your version my blessing to continue the work, but that is not the case. I have no reason to distrust you but I also won’t approve code I didn’t inspect. Please don’t reuse the externally identifiable features. Thank you. Looking forward to the PR and to talk about the API. Link to comment
oldcai Posted February 19, 2022 Share Posted February 19, 2022 Hi, I apologize for the information that may cause misunderstanding. I've sent a PR now, and I'm considering opening the source code of the API app too, but I haven't decided yet. So I kept my repo but renamed it to CorrectSpelling. I have also made some declarations in the repo page: This spelling correction plugin for Alfred is created by @vitorgalvao and named CheckSpelling. CorrectSpelling is an unofficial fix of CheckSpelling, and CorrectSpelling is now maintained by @oldcai. I hope that would be proper. Best regards, oldcai (Albert Tsai) Link to comment
vitor Posted February 21, 2022 Author Share Posted February 21, 2022 @oldcai Thank you again for your handling of this. Hoping you accept the recent PR and are able to grow your version into its own thing. Good luck with the continued work on the new API, I hope it’s fun! oldcai 1 Link to comment
oldcai Posted February 22, 2022 Share Posted February 22, 2022 It's really a heartwarming community, and I will try my best to contribute more to it. vitor and TomBenz 2 Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now