Jump to content
vitor

CheckSpelling — Spelling correction in various languages

Recommended Posts

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 FeaturesDictionary). The following five will immediately replace the word with the best suggestion (using the After the Deadline service).

 

Download | Source

Edited by vitor

Share this post


Link to post

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

Share this post


Link to post
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.

Share this post


Link to post

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.

screenshot.png

screenshot.png

Screenshot 2017-04-09 15.44.31.JPG

Share this post


Link to post

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 by vitor

Share this post


Link to post

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).

 

giphy.gif

Share this post


Link to post
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”.

Share this post


Link to post
28 minutes ago, vitor said:

 

Nothing happens because “comida” is a word that exists.

 

:D You mean it doesn't also replace correctly-spelled words with wrong ones? What's the point of that?

Share this post


Link to post

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.

Share this post


Link to post

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.

Share this post


Link to post
Posted (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 by 2Pants

Share this post


Link to post

@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:

  1. Find another API.
  2. Use a local spell checker.


Problems:

  1. Other spell checking APIs are paid or require registration.
  2. 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.

Share this post


Link to post

@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!

Share this post


Link to post

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.

Share this post


Link to post
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.  

Share this post


Link to post
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.

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...