ErfahrungenCOM Posted November 20, 2015 Share Posted November 20, 2015 (edited) I've found a dict.cc - Translate English to German workflow here: https://github.com/elkatwork/alfred-dict.cc-workflow Just to be clear: I'm not the creator. Just found this useful and would like to share it with you. (based on the dict.cc.py script by raaapha) Edited November 20, 2015 by ErfahrungenCOM Link to comment
deanishe Posted November 20, 2015 Share Posted November 20, 2015 FWIW, dict.cc makes their database available for download here. If you use the dictionary a lot, I'd recommend grabbing that and building an offline workflow based on it, as it's way faster (and far more reliable) than one that parses the HTML output of an online search. I made one for myself years ago, but I won't release it because you're not allowed to distribute the wordlist vanderholm 1 Link to comment
ErfahrungenCOM Posted November 20, 2015 Author Share Posted November 20, 2015 I made one for myself years ago, but I won't release it because you're not allowed to distribute the wordlist Can you release your offline dict.cc workflow without the wordlist and just give instructions where to download it etc.? Link to comment
deanishe Posted November 21, 2015 Share Posted November 21, 2015 Not likely. It's a mess. And bad. I was hoping you would make an offline version of this one, to be honest. Link to comment
ErfahrungenCOM Posted November 23, 2015 Author Share Posted November 23, 2015 I'm not a coder, sorry mate. Link to comment
vanderholm Posted December 2, 2015 Share Posted December 2, 2015 Not likely. It's a mess. And bad. I was hoping you would make an offline version of this one, to be honest. Not a real coder either, but i am in sore need of a offline workflow just like this. If you would you share the workflow you have with me it would really really be helpful in getting me started coding a workflow. I won't mind the mess at all and will probably only mess it up further. Link to comment
deanishe Posted December 2, 2015 Share Posted December 2, 2015 (edited) Not a real coder either, but i am in sore need of a offline workflow just like this. If you would you share the workflow you have with me it would really really be helpful in getting me started coding a workflow. I won't mind the mess at all and will probably only mess it up further. I'll be perfectly honest: I won't release the workflow as-is because the state of it is unacceptable to me. I've learnt a lot about writing workflows in the 2.5 years since I wrote it, and I'm simply not going to release this code when I can see so much wrong with it. I'm going to put together a new version now, then I'll upload it to GitHub where you and anyone else can help improve it. Any suggestions for a name? The one I currently have is beyond lame… Edited December 2, 2015 by deanishe Link to comment
vanderholm Posted December 4, 2015 Share Posted December 4, 2015 very very awesome as to a name what about 'interDICT.cc' or the neutral 'dict.cc translation' let me know if I can contribute in any way Link to comment
vanderholm Posted February 1, 2016 Share Posted February 1, 2016 Any progress? Can I contribute? Link to comment
deanishe Posted February 1, 2016 Share Posted February 1, 2016 To be honest, I re-downloaded the dictionary dump from dict.cc, spent half an hour thinking how to parse it in a sensible way, couldn't think of an obvious solution, then kinda gave up. The main issue is that the data dump is rather freely structured. It's not easy to parse reliably into proper data. If you have any thoughts about how that might be done, I'm all ears… I'll make a note to come back to this next. It's a workflow I use a lot, so any improvement would be a great help to me. vanderholm 1 Link to comment
PhilippN Posted March 5, 2016 Share Posted March 5, 2016 I used some regular expressions to parse the dict.cc dictionary and put it into a json file for later usage. Have a look: http://www.alfredforum.com/topic/8638-dictcc-offline-translator/ Link to comment
Pa7trickStar Posted March 24, 2022 Share Posted March 24, 2022 This one is under active development and works under Monterey 12.3: https://github.com/dennis-tra/alfred-dict.cc-workflow Please consider buying the dev a cup of coffee when you are using the workflow 😉 Seems with the recent updates form Apple it takes quite some effort to keep tools like this working.. Vero 1 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