danielnaber / openthesaurus Goto Github PK
View Code? Open in Web Editor NEWweb-based thesaurus search and management
Home Page: https://www.openthesaurus.de
License: GNU Affero General Public License v3.0
web-based thesaurus search and management
Home Page: https://www.openthesaurus.de
License: GNU Affero General Public License v3.0
Is there any example on how an errornous json/xml response could look like?
Thank you for this service!
Sometimes when entering a page the search popup appears, although it shouldn't. Example:
Now the newly opened tab will become visible, but the search popup will open without actually using the search field (tested with Firefox).
See here. The thousands separators are represented by commas (English) and not by dots (German).
Is there any English version of it available?
add "[?]" link, just like for associations, explaining what superordinate terms are: A is a superordinate term of B if you can say "B is an A", e.g. a car is a vehicle
Using a wrong password produces a blank screen instead of an error message.
I've been thinking about how OT could help (a) users with non-German keyboards, (b) users who are struggling with entering common accented characters that often occur in loan words, such as à, é, ç, ğ etc., because the process of entering those on their respective device might be cumbersome or not widely known.
The basic idea is that OT could have an icon (or maybe a text that says "Sonderzeichen") next to each input field that when clicked/touched opens a modal (?) dialog that displays special characters from at least German, French, Italian, Spanish, and maybe Polish, Czech, and Turkish, typically in a table of some kind. When a character in the table is clicked/touched, the respective character should (obviously) be entered at the cursor position. The dialog should probably not close automatically after insertion so the user can add several special characters in one go.
I would not restrict this to the search box, but make it available literally everywhere where users are supposed to enter text. It might encourage OT contributors to contribute with better spelling quality. My suggestion addresses the same problem that motivates issue #16, but in a more generic way.
Create a page that lists synsets sorted by their size, i.e. the number of synonyms
http://www.openthesaurus.de/association/list changes its order of associations on reload. Items should be sorted somehow to avoid that.
happens at http://www.openthesaurus.de/term/edit/37149
Stacktrace follows:
java.lang.Exception: More than one term link for term weitermachen: [weitermachen<--Antonym-->abbrechen, weitermachen<--Antonym-->aufstecken, weitermachen<--Antonym-->(es) aufgeben]
at TermController$_closure3.doCall(TermController.groovy:59)
at TermController$_closure3.doCall(TermController.groovy)
at java.lang.Thread.run(Thread.java:722)
Please upgrade application.properties to grails version 3.3.1, see also https://grails.org/download.html
Hello together,
Is it possible to support a semantic distance as a score between a search query and the shown words/synonyms?
Wordnet explains the functionality on their FAQ below "How can I calculate the semantic distance between two word senses?"
https://wordnet.princeton.edu/frequently-asked-questions
Germanet has something similar described below their tools page as Semantic Relatedness API
http://www.sfs.uni-tuebingen.de/GermaNet/tools.shtml
This feature would be great if you like to use OpenThesaurus as a Search Query Enricher and you need to weight the semantic distance scores for your result presentation.
Delete a term at e.g. http://localhost:8080/synonyme/edit/11637 - the term will be deleted but it seems the logging fails.
failed to lazily initialize a collection, could not initialize proxy - no Session. Stacktrace follows:
java.lang.reflect.InvocationTargetException: null
at org.grails.core.DefaultGrailsControllerClass$ReflectionInvoker.invoke(DefaultGrailsControllerClass.java:211)
at org.grails.core.DefaultGrailsControllerClass.invoke(DefaultGrailsControllerClass.java:188)
at org.grails.web.mapping.mvc.UrlMappingsInfoHandlerAdapter.handle(UrlMappingsInfoHandlerAdapter.groovy:90)
at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:967)
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:901)
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:970)
at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:872)
at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:846)
at org.springframework.boot.web.filter.ApplicationContextHeaderFilter.doFilterInternal(ApplicationContextHeaderFilter.java:55)
at org.grails.web.servlet.mvc.GrailsWebRequestFilter.doFilterInternal(GrailsWebRequestFilter.java:77)
at org.grails.web.filters.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:67)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Caused by: org.hibernate.LazyInitializationException: failed to lazily initialize a collection, could not initialize proxy - no Session
at org.hibernate.collection.internal.AbstractPersistentCollection.throwLazyInitializationException(AbstractPersistentCollection.java:584)
at org.hibernate.collection.internal.AbstractPersistentCollection.withTemporarySessionIfNeeded(AbstractPersistentCollection.java:201)
at org.hibernate.collection.internal.AbstractPersistentCollection.readElementExistence(AbstractPersistentCollection.java:313)
at org.hibernate.collection.internal.PersistentSet.contains(PersistentSet.java:154)
at com.vionto.vithesaurus.Term.compareTo(Term.groovy:162)
at java.util.TimSort.countRunAndMakeAscending(TimSort.java:356)
at java.util.TimSort.sort(TimSort.java:220)
at java.util.Arrays.sort(Arrays.java:1512)
at java.util.ArrayList.sort(ArrayList.java:1454)
at java.util.Collections.sort(Collections.java:175)
at com.vionto.vithesaurus.Synset.toDetailedString(Synset.groovy:249)
at com.vionto.vithesaurus.LogInfo.<init>(LogInfo.groovy:90)
at openthesaurus.SynsetController.update(SynsetController.groovy:732)
... 14 common frames omitted
Where can sending mails be configured?
org.springframework.mail.MailAuthenticationException: Authentication failed; nested exception is javax.mail.AuthenticationFailedException: f
at org.springframework.mail.javamail.JavaMailSenderImpl.doSend(JavaMailSenderImpl.java:424)
at org.springframework.mail.javamail.JavaMailSenderImpl.send(JavaMailSenderImpl.java:345)
at org.springframework.mail.javamail.JavaMailSenderImpl.send(JavaMailSenderImpl.java:340)
at grails.plugins.mail.MailMessageBuilder.sendMessage(MailMessageBuilder.groovy:130)
at grails.plugins.mail.MailService.sendMail(MailService.groovy:53)
at grails.plugins.mail.MailService.sendMail(MailService.groovy:57)
at grails.plugins.mail.SendMail$Trait$Helper.sendMail(SendMail.groovy:31)
at openthesaurus.UserController.doRegister(UserController.groovy:186)
at org.grails.core.DefaultGrailsControllerClass$MethodHandleInvoker.invoke(DefaultGrailsControllerClass.java:223)
at org.grails.core.DefaultGrailsControllerClass.invoke(DefaultGrailsControllerClass.java:188)
at org.grails.web.mapping.mvc.UrlMappingsInfoHandlerAdapter.handle(UrlMappingsInfoHandlerAdapter.groovy:90)
at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:967)
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:901)
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:970)
at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:872)
at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:846)
at org.springframework.boot.web.filter.ApplicationContextHeaderFilter.doFilterInternal(ApplicationContextHeaderFilter.java:55)
at org.grails.web.servlet.mvc.GrailsWebRequestFilter.doFilterInternal(GrailsWebRequestFilter.java:77)
at org.grails.web.filters.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:67)
at org.springframework.boot.web.support.ErrorPageFilter.doFilter(ErrorPageFilter.java:115)
at org.springframework.boot.web.support.ErrorPageFilter.access$000(ErrorPageFilter.java:59)
at org.springframework.boot.web.support.ErrorPageFilter$1.doFilterInternal(ErrorPageFilter.java:90)
at org.springframework.boot.web.support.ErrorPageFilter.doFilter(ErrorPageFilter.java:108)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
Caused by: javax.mail.AuthenticationFailedException: failed to connect, no password specified?
at javax.mail.Service.connect(Service.java:400)
at org.springframework.mail.javamail.JavaMailSenderImpl.connectTransport(JavaMailSenderImpl.java:501)
at org.springframework.mail.javamail.JavaMailSenderImpl.doSend(JavaMailSenderImpl.java:421)
... 25 common frames omitted
As per #16, OpenThesaurus now supports transcripted umlauts and 'ss' for 'ß'. Users should be made aware of this new functionality in some way. I suggest an unobtrusive balloon tip that is triggered when the input field gets focus. The balloon could say something like 'Tip: Type ae for ä and ss for ß'. Also, it should have a close button and ideally stay closed for the rest of the session after the user closed it.
openthesaurus.de ist das führende (und wohl auch einzige) freie deutschsprachige Synonymwörterbuch. Unsere Daten werden in LibreOffice genutzt und unsere Website hat über 20.000 Visits pro Tag.
Um den Betrieb von OpenThesaurus zu stabilisieren, suche ich einen ehrenamtlichen Co-Admin. Kenntnisse im Bereich Linux und Webserver sollten vorhanden sein. Aufgabe ist es, mit mir zusammen den Server so aufzusetzen, dass es nicht zu Unterbrechungen im Betrieb kommt und dass eine gute Performance garantiert ist.
Kontakt hier oder per Mail (siehe https://www.openthesaurus.de/about/imprint).
Currently, if I want to subscribe to the RSS feed with the most recent changes to the OT data, I have to go to the About page in order to learn that this feature exists.
At the same time, the main page of OT has a link to the page https://www.openthesaurus.de/userEvent/list with a link text of "Daten-Änderungen".
I would like to suggest to add a link on the page https://www.openthesaurus.de/userEvent/list to https://www.openthesaurus.de/feed that says something similar to "Sie können die aktuellen Änderungen auch als RSS_Feed abonnieren."
Please start tagging certain commits as releases and offer a WAR file for that release for the then current stable version of Ubuntu and LTS version. For now that would be current stable 17.04 (as of October 19th 17.10) and LTS 16.04.
$ cd core/dictionaries/de
$ echo gebärdensprache | hunspell -d de_DE_frami
Hunspell 1.7.0
& gebärdensprache 4 0: Gebärdensprache, -gebärdensprache, sprachgebundene, sprachgebunden
so it can be reproduced on the command line without libreoffice involved so its not an issue within LibreOffice code and is presumably due to the o rule of
gebärdensprache/ozm in the de_DE_frami.dic/aff, i.e. specific to the spelling dictionary itself
Same also present in Dutch dictionary (https://github.com/OpenTaal/opentaal-hunspell). Recent changes there might give some pointers.
Dear openthesaurus-team,
it would be great to have a short text-description for each synset.
Could this be added to the corpus?
A synset should inherit the category of its superordinate synset
Please support https://en.wikipedia.org/wiki/Opposite_(semantics) (see also https://en.wikipedia.org/wiki/Converse_(semantics) )
Is there an OpenThesaurus Android app from a third-party developer or do you plan to make one yourself @danielnaber? I would love to have that
By the way, thanks for your awesome work! 😘
For the search-as-you-type feature, onValueChange() starts an Ajax requests whose response will be written to the page. As the server response time isn't always the same it sometimes happens that an older requests overwrites a more recent one. For example, the user might have searched for "foo", but will see the result for "fo".
When trying to add the phrase "Raison d'Être" to OT (capitalization recommended by Duden), I get this error:
Die Eigenschaft [word] des Typs [class com.vionto.vithesaurus.Term] mit dem Wert [Raison d'Être] entspricht nicht dem vorgegebenen Muster [[ 0-9a-zA-ZöäüÖÄÜßëçèéêáàóòÈÉÁÀÓÒãñíîş{}"?*=()-+/.,'_:<>;%‰°![]²³Œ€&#ūαΑβΒγΓδΔεΕζΖηΗθΘιΙκΚλΛμΜνΝξΞοΟπΠρΡσΣτΤυΥφΦχΧψΨωΩάΆέΈίΊήΉύΎϊϋΰΐœţ]+]
Seems to me that at least the character Ê should be added to the RegEx here.
Trying to access https://www.openthesaurus.de/export/ results in a 403 error.
first research whether we can include the MySQL connector (license is GPL + exception)
Hi,
imo the .org domain would be a good addition to the site. For me, it would be the fitting tld for such a project.
Falls es stimmt, wäre es witzig, wenn man Wörter nach der Stimmung filtern könnte, die man für seinen Text bzw. Absatz haben möchte:
So bewirken dunkle Vokale (a, o und u) eine eher finstere, aber auch ruhige Stimmung. Im Gegensatz dazu erzeugen helle Vokale (e und i) eine fröhliche, aufgeregte Stimmung. Harte Konsonanten (k,p,r und t) wirken eher aggressiv und abweisend, weiche Konsonanten (b, d, f, m und n) hingegen beruhigend.
(https://www.sputnik-agentur.de/blog/wie-texte-wirken-was-steht-zwischen-den-zeilen/)
Just coming by here by chance - and just one comment: I see there is a limit of one request per second which should be more that sufficient for most IP addresses. This might be an issue for a larger group sharing the same IP address.
One such case is users with a need of increased anonymity and who are relying on Tor (see torproject.org for some background). Everyone using Tor and accessing openthesaurus will have one of the Exit-nodes IP addresses assigned on the request. So my suggestion would be to allow these IP addresses a higher rater (in case this is needed at all; currently everything is working perfectly well). Still some rate limit is usefull for these IPs as well; just higher maybe.
The Tor Exit node IPs can easily checked for at: https://check.torproject.org/cgi-bin/TorBulkExitList.py which also links to a plain-text full list of IPs (V4 and V6).
Keep on with the great work - it's an awesome and indispensable tool to learn German!
For all users of openthesaurus not using a german keyboard layout and not knowing how to use compose keys, it would be very nice to have an automatic conversion for umlauts:
For:
I get
OpenThesaurus Server-Fehler […] An error has occurred
That could be some better error handling.
I currently make some tests if its possible to upgrade grails to latest version (to solve #27)
However, currently I have problems while running the (new) grails app using grails run-app
as the class TermLinkInfo.java cannot import class Term. I didnt have that exception on latest master, though
I failed to find class Term in the src folder.
Am I blind or is it like hard to spot? Can you tell me where its located?
Hi danielnaber,
i want to build your app with grails 2.3.11, but with JDK 8 (jdk1.8.0_101) i get copy errors for copying non-root methods and with jdk 7 (jdk1.7.0_80) i get UnsupportedClassVersionError
Unsupported major.minor version 52.0
Which Java Version are you using?
Hello,
on a local installation of openthesaurus, can I use the API as described here?
https://www.openthesaurus.de/about/api
(of course with changing the address to localhost.)
KR
Miriam
Quick fix:
\u openthesaurus
SELECT * FROM `term` WHERE `id` = 88967; => keine Treffer (sonst ist es ein anderes Problem)
select * from term_link where target_term_id = 88967 limit 1;
select * from synset_link where target_term_id = 88967 limit 1;
SELECT * FROM `term` WHERE `id` = 40740; => hier die synset-id anschauen
https://www.openthesaurus.de/synonyme/edit/{synset_id} => Server error? Wenn nicht, anderes Problem
delete from term_link where target_term_id = 88967 limit 1;
https://www.openthesaurus.de/synonyme/edit/{synset_id} => Server error sollte gelöst sein
What happens when a term gets deleted? It seems the term_link
doesn't get removed?
e.g. aber hallo
should find aber hallo!
This might motivate people to keep contributing. It might be implemented either in CSS or with a server-side library that renders PNGs. Google also offers an API for that but I rather don't want to rely on Google.
The URL https://www.openthesaurus.de/synonyme/weh+tun
used to work, but now the "+" ends up as a plus in the search field, leading to no results.
(https://www.openthesaurus.de/synonyme/weh tun
still works.)
see e.g http://www.openthesaurus.de/synonyme/edit/14207#47839, its history contains an escaped ampersand
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.