isaacpz Posted December 14, 2017 Share Posted December 14, 2017 (edited) Word Search is an Alfred 2/3 workflow which exposes powerful word searching utilities. Ultimately, the workflow can be leveraged to widen your vocabulary and make you a better writer. Quick Reference syn [word] - Broadly searches for words related to a word/phrase. dsyn [word] - Searches for a word’s exact synonyms. ant [word] - Searches for a word’s antonyms. rhyme [word] - Searches a word’s rhymes. describing [word] - Searches for words that describe another word Usage Simply type in a command. Selecting a result will copy that word to your clipboard and automatically paste it in the front most app. Installation Simply download the latest .alfredworkflow file and double click it to import it to Alfred. Word Search will update on its own. Demonstration Searching for words that describe “dog” This forum doesn't like many images. If you want to see more screenshots, checkout the github page. Edited December 14, 2017 by isaacpz cands, juliosecco, Southgirl and 1 other 2 2 Link to comment
Damoeire Posted December 14, 2017 Share Posted December 14, 2017 Awesome @isaacpz ! Where does it get its words from? Link to comment
isaacpz Posted December 14, 2017 Author Share Posted December 14, 2017 @Damoeire it uses Datamuse for all the dictionary stuff. It's an awesome resource. Damoeire 1 Link to comment
juliosecco Posted December 15, 2017 Share Posted December 15, 2017 I'm not a native english speaker, working a lot with list of keywords that describe audio files... This tool can be A LOT useful for me! Thank you! Link to comment
piggah Posted December 16, 2017 Share Posted December 16, 2017 This is really cool and something I never considered for a workflow idea. This is info I'd like to have frequently but usually too lazy or too slow to get to it. Very nice Link to comment
Southgirl Posted August 27, 2019 Share Posted August 27, 2019 Just watched a video where someone talked about this workflow. So glad I found it! Works perfectly on v4. Link to comment
Mracu Posted May 1, 2020 Share Posted May 1, 2020 Hi there! I am very grateful for this workflow. It is awesome! Thank you! However, I would like to suggest an idea, since I am not capable enough to do it on my own. Since, I am not a native speaker I make mistakes in prepositions, which follow a word. Maybe, you can expand the functionality of this plugin and add a search for prepositions? It would be really cool to have a context description in case of multiple options. It would be highly appreciable by me. Once again, thank you! Link to comment
ItsJaky Posted April 30, 2022 Share Posted April 30, 2022 [18:31:30.384] Logging Started... [18:31:32.751] Word Search[Script Filter] Queuing argument 'l' [18:31:32.758] Word Search[Script Filter] Script with argv '(null)' finished [18:31:32.759] ERROR: Word Search[Script Filter] Code 127: /bin/bash: python: command not found [18:31:32.940] Word Search[Script Filter] Queuing argument 'lo' [18:31:32.946] Word Search[Script Filter] Script with argv '(null)' finished [18:31:32.947] ERROR: Word Search[Script Filter] Code 127: /bin/bash: python: command not found [18:31:33.052] Word Search[Script Filter] Queuing argument 'lov' [18:31:33.056] Word Search[Script Filter] Script with argv '(null)' finished [18:31:33.057] ERROR: Word Search[Script Filter] Code 127: /bin/bash: python: command not found [18:31:33.136] Word Search[Script Filter] Queuing argument 'love' [18:31:33.202] Word Search[Script Filter] Script with argv '(null)' finished [18:31:33.205] ERROR: Word Search[Script Filter] Code 127: /bin/bash: python: command not found I can't get mine to work please help Link to comment
Dekime Posted April 30, 2022 Share Posted April 30, 2022 same issue as @itsJaky Worked well before but since Alfred 4.6.4 I'm getting these errors. Link to comment
vitor Posted May 1, 2022 Share Posted May 1, 2022 @ItsJaky @Dekime See the following post for an explanation, how to fix, and alternative Workflows. Link to comment
jun6lee Posted May 1, 2022 Share Posted May 1, 2022 This one in particular I've got working on a fork. https://github.com/jun6lee/Alfred-WordSearch I have an alternate fix too. This whole MacOS update has forced me to learn a bit of Python3. vitor, zeitlings, Kelson01 and 1 other 4 Link to comment
vitor Posted May 1, 2022 Share Posted May 1, 2022 Welcome to the forums @jun6lee. I have added your fork as the first alternative on the table. Link to comment
jun6lee Posted May 1, 2022 Share Posted May 1, 2022 10 minutes ago, vitor said: Welcome to the forums @jun6lee. I have added your fork as the first alternative on the table. Thanks kindly. Link to comment
Dekime Posted May 1, 2022 Share Posted May 1, 2022 40 minutes ago, jun6lee said: This one in particular I've got working on a fork. https://github.com/jun6lee/Alfred-WordSearch I have an alternate fix too. This whole MacOS update has forced me to learn a bit of Python3. Step into the right direction! It loads correctly but I'm getting the certificate error. Do you happen to know how to fix this? Link to comment
jun6lee Posted May 1, 2022 Share Posted May 1, 2022 Have just pushed my pure Python3 fix, which should fix this. Link to comment
jun6lee Posted May 3, 2022 Share Posted May 3, 2022 (edited) Can't seem to replicate. Did you download the updated .workflow file? Edited May 3, 2022 by jun6lee img Link to comment
Dekime Posted May 4, 2022 Share Posted May 4, 2022 On 5/3/2022 at 2:07 AM, jun6lee said: Can't seem to replicate. Did you download the updated .workflow file? I did. You can see in the console the run version is 2.0.1 Link to comment
jun6lee Posted May 4, 2022 Share Posted May 4, 2022 I could change the url to http (rather than https) but would rather not, since it works for me on two computers (1 on Intel, 1 on M1). You could do this yourself in the similar.py (open in Finder and you'll see it there) and see if that works for you. Alternatively, give this a shot. May fix it for you if it's a local issue. https://www.dev2qa.com/how-to-fix-python-error-certificate-verify-failed-unable-to-get-local-issuer-certificate-in-mac-os/ Link to comment
kozunak Posted September 4, 2022 Share Posted September 4, 2022 (edited) ***IGNORE*** Little Snitch was blocking the traffic Just found this workflow and was geeked about it. However, it is not working for me as the queries are timing out without returning any results: OS: 11.6.8 Alfred: 5.0.2 [2073] Python3 version: 3.10.5 Python2 version: Python 2.7.18 Error: Debug: [19:42:57.536] ERROR: Word Search[Script Filter] Code 1: . 19:40:26 workflow.py:2093 DEBUG ---------- Word Search (2.0.2) ---------- 19:42:57 workflow.py:2114 ERROR <urlopen error [Errno 60] Operation timed out> Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/urllib/request.py", line 1348, in do_open h.request(req.get_method(), req.selector, req.data, headers, File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/http/client.py", line 1282, in request self._send_request(method, url, body, headers, encode_chunked) File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/http/client.py", line 1328, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/http/client.py", line 1277, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/http/client.py", line 1037, in _send_output self.send(msg) File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/http/client.py", line 975, in send self.connect() File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/http/client.py", line 941, in connect self.sock = self._create_connection( File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/socket.py", line 845, in create_connection raise err File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/socket.py", line 833, in create_connection sock.connect(sa) TimeoutError: [Errno 60] Operation timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/nspasov/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.20AD3DCC-BC9D-423C-A9DA-3694ED1E53DB/workflow/workflow.py", line 2107, in run func(self) File "/Users/nspasov/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.20AD3DCC-BC9D-423C-A9DA-3694ED1E53DB/similar.py", line 16, in main words = wf.cached_data(args[0] + "_" + args[1], cacheSearch, max_age=60) File "/Users/nspasov/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.20AD3DCC-BC9D-423C-A9DA-3694ED1E53DB/workflow/workflow3.py", line 690, in cached_data return super(Workflow3, self).cached_data(name, data_func, max_age) File "/Users/nspasov/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.20AD3DCC-BC9D-423C-A9DA-3694ED1E53DB/workflow/workflow.py", line 1723, in cached_data data = data_func() File "/Users/nspasov/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.20AD3DCC-BC9D-423C-A9DA-3694ED1E53DB/similar.py", line 14, in cacheSearch return getSimilar(args[0], args[1]) File "/Users/nspasov/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.20AD3DCC-BC9D-423C-A9DA-3694ED1E53DB/similar.py", line 29, in getSimilar dict = urllib2.urlopen(api_url).read() File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/urllib/request.py", line 216, in urlopen return opener.open(url, data, timeout) File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/urllib/request.py", line 519, in open response = self._open(req, data) File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/urllib/request.py", line 536, in _open result = self._call_chain(self.handle_open, protocol, protocol + File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/urllib/request.py", line 496, in _call_chain result = func(*args) File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/urllib/request.py", line 1377, in http_open return self.do_open(http.client.HTTPConnection, req) File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/urllib/request.py", line 1351, in do_open raise URLError(err) urllib.error.URLError: <urlopen error [Errno 60] Operation timed out> 19:42:57 workflow.py:2136 DEBUG ---------- finished in 151.045s ---------- [19:42:57.541] Word Search[Script Filter] { "items": [ { "title": "Error in workflow 'Word Search'", "subtitle": "<urlopen error [Errno 60] Operation timed out>", "valid": false, "icon": { "path": "/System/Library/CoreServices/CoreTypes.bundle/Contents/Resources/AlertStopIcon.icns" } } ] } Edited September 4, 2022 by kozunak 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