{"id":20481165,"url":"https://github.com/arbox/wlapi","last_synced_at":"2025-04-13T14:11:12.075Z","repository":{"id":56898353,"uuid":"2651035","full_name":"arbox/wlapi","owner":"arbox","description":"Ruby based API for the project Wortschatz Leipzig.","archived":false,"fork":false,"pushed_at":"2023-03-03T13:26:37.000Z","size":358,"stargazers_count":19,"open_issues_count":7,"forks_count":8,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-05-01T23:12:42.846Z","etag":null,"topics":["computational-linguistics","natural-language-processing","nlp","ruby","rubynlp"],"latest_commit_sha":null,"homepage":"","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/arbox.png","metadata":{"files":{"readme":"README.rdoc","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.rdoc","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2011-10-26T13:37:01.000Z","updated_at":"2022-08-19T15:33:16.000Z","dependencies_parsed_at":"2023-10-20T17:31:12.025Z","dependency_job_id":null,"html_url":"https://github.com/arbox/wlapi","commit_stats":{"total_commits":1083,"total_committers":6,"mean_commits":180.5,"dds":0.007386888273314907,"last_synced_commit":"30757a4e002a515aaafa24685a03e11994e5e834"},"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arbox%2Fwlapi","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arbox%2Fwlapi/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arbox%2Fwlapi/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arbox%2Fwlapi/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/arbox","download_url":"https://codeload.github.com/arbox/wlapi/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248724629,"owners_count":21151561,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["computational-linguistics","natural-language-processing","nlp","ruby","rubynlp"],"created_at":"2024-11-15T16:07:05.353Z","updated_at":"2025-04-13T14:11:12.054Z","avatar_url":"https://github.com/arbox.png","language":"Ruby","readme":"= WLAPI\n\n{RubyGems}[http://rubygems.org/gems/wlapi] | {WLAPI Project Page}[http://bu.chsta.be/projects/wlapi/] |\n{Source Code}[https://github.com/arbox/wlapi] | {Bug Tracker}[https://github.com/arbox/wlapi/issues] |\n{Mailing List}[http://groups.google.com/group/wlapi]\n\n{\u003cimg src=\"https://img.shields.io/gem/v/wlapi.svg\" alt=\"Gem Version\" /\u003e}[https://rubygems.org/gems/wlapi]\n{\u003cimg src=\"https://img.shields.io/travis/arbox/wlapi.svg\" alt=\"Build Status\" /\u003e}[https://travis-ci.org/arbox/wlapi]\n{\u003cimg src=\"https://img.shields.io/codeclimate/github/arbox/wlapi.svg\" alt=\"Code Climate\" /\u003e}[https://codeclimate.com/github/arbox/wlapi]\n{\u003cimg src=\"https://img.shields.io/gemnasium/arbox/wlapi.svg\" alt=\"Dependency Status\" /\u003e}[https://gemnasium.com/arbox/wlapi]\n\n*DISCLAIMER* We are working on the new RESTful client. Please be patient!\n\n== DESCRIPTION\nWLAPI is a programmatic API for web services provided by the project\n{Wortschatz}[http://wortschatz.uni-leipzig.de/], University of Leipzig. These\nservices are a great source of linguistic knowledge for morphological, syntactic\nand semantic analysis of German both for traditional and Computational\nLinguistics (CL).\n\nUse this API to gain data on word frequencies, left and right neighbours,\ncollocations and semantic similarity. Check it out if you are interested\nin Natural Language Processing (NLP) and Human Language Technology (HLT).\n\nThis library is a set of Ruby bindings for the following featuren. You may also\nbe interested in other language specific bindings:\n\n* {Perl}[http://search.cpan.org/~schroeer/Lingua-DE-Wortschatz/]\n* {Python}[https://github.com/lehmannro/libleipzig-python]\n* {PHP}[http://web.archive.org/web/20090418233940/http://blog.klassifikator.de/2009/03/php-implementierung-des-wortschatz-webservice-der-uni-leipzig/]\n* {C#}[http://code-bude.net/2013/07/22/csharp-api-fuer-den-wortschatz-leipzig-thesaurus-webservic/]\n\nThe original Java based clients with many examples can be found on the\n{project overview page}[http://wortschatz.uni-leipzig.de/axis/servlet/ServiceOverviewServlet].\n\n=== Implemented Features\nYou can use the following search methods:\n* \u003ctt\u003e#baseform\u003c/tt\u003e;\n* \u003ctt\u003e#cooccurrences\u003c/tt\u003e;\n* \u003ctt\u003e#cooccurrences_all\u003c/tt\u003e;\n* \u003ctt\u003e#crossword\u003c/tt\u003e;\n* \u003ctt\u003e#domain\u003c/tt\u003e;\n* \u003ctt\u003e#experimental_synonyms\u003c/tt\u003e;\n* \u003ctt\u003e#frequencies\u003c/tt\u003e;\n* \u003ctt\u003e#left_collocation_finder\u003c/tt\u003e;\n* \u003ctt\u003e#left_neighbours\u003c/tt\u003e;\n* \u003ctt\u003e#right_collocation_finder\u003c/tt\u003e;\n* \u003ctt\u003e#right_neighbours\u003c/tt\u003e;\n* \u003ctt\u003e#sentences\u003c/tt\u003e;\n* \u003ctt\u003e#similarity\u003c/tt\u003e;\n* \u003ctt\u003e#synonyms\u003c/tt\u003e;\n* \u003ctt\u003e#thesaurus\u003c/tt\u003e;\n* \u003ctt\u003e#wordforms\u003c/tt\u003e;\n* \u003ctt\u003e#ngrams\u003c/tt\u003e;\n* \u003ctt\u003e#ngram_references\u003c/tt\u003e;\n\nThe services \u003ctt\u003eNGrams\u003c/tt\u003e and \u003ctt\u003eNGramReferences\u003c/tt\u003e are under development\nand will be available soon. Both methods throw an \u003ctt\u003eNotImplementedError\u003c/tt\u003e\nfor now.\n\nThe interface will be slightly changed in the version \u003ctt\u003e1.0\u003c/tt\u003e to be more\nreadable. For example, \u003ctt\u003e#cooccurrences_all\u003c/tt\u003e may become\n\u003ctt\u003e#all_cooccurrences\u003c/tt\u003e.\n\nThere are two additional services by Wortschatz Leipzig: MARS and\nKookurrenzschnitt. They will not be implemented due to internal restrictions of\nthe service provider.\n\n== INSTALLATION\nWLAPI is provided as a \u003ctt\u003e.gem\u003c/tt\u003e package. Simply install it via\n{RubyGems}[http://rubygems.org/gems/wlapi].\n\nTo install WLAPI ussue the following command:\n  $ gem install wlapi\n\nThe current version of WLAPI works with the second {Savon}[http://savonrb.com/version2/]\ngeneration. You might want to install versions prior to +0.8.0+, if you are bound\non the old implementations of {savon}[http://savonrb.com/]:\n  $ gem install wlapi -v 0.7.4\n\nIf you want to do a system wide installation, do this as root (possibly using +sudo+).\n\nAlternatively use your \u003ctt\u003eGemfile\u003c/tt\u003e for dependency management.\n\nWe are working on a \u003ctt\u003e.deb\u003c/tt\u003e package, which will be released soon.\n\n== SYNOPSIS\n\nBasic usage is very simple:\n  $ require 'wlapi'\n  $ api = WLAPI::API.new\n  $ api.synonyms('Haus', 15) # returns an array with string values (UTF8 encoded)\n  $ api.domain('Auto') # =\u003e Array\n\nIf you are going to send mass requests, please contact the support team\nof the project {Wortschatz}[http://wortschatz.uni-leipzig.de/], get your private\ncredentials and instantiate an authenticated client:\n  $ require 'wlapi'\n  $ api = WLAPI::API.new(username, password)\n\nSee documentation in the WLAPI::API class for details\non particular search methods.\n\n== EXCEPTION HIERARCHY\nWhile using WLAPI you can face following errors:\n* \u003ctt\u003eWLAPI::UserError\u003c/tt\u003e;\n* \u003ctt\u003eWLAPI::ExternalError\u003c/tt\u003e.\n\nThe errors here are presented in the order they may occur\nduring WLAPI's work.\n\nFirst WLAPI checks the user input and throws a \u003ctt\u003eWLAPI::UserError\u003c/tt\u003e\nif the arguments are not appropriate.\n\nThen it fetches a response from a remote server, it can result\nin a \u003ctt\u003eWLAPI::ExternalError\u003c/tt\u003e. In most cases it will be a simple wrapper\naround other errors, e.g. \u003ctt\u003eSavon::SOAP::Fault\u003c/tt\u003e.\n\nAll of them are subcalsses of \u003ctt\u003eWLAPI::Error\u003c/tt\u003e which is in turn a subclass\nof the standard +RuntimeError+.\n\nIf you want to intercept any and every exception thrown by WLAPI simply rescue\n\u003ctt\u003eWLAPI::Error\u003c/tt\u003e.\n\n\n== SUPPORT\nIf you have question, bug reports or any suggestions, please drop me an email :) \nAny help is deeply appreciated!\n\nIf you need some new functionality please contact me or provide a pull request.\nYou code should be complete and tested. Please use \u003ctt\u003elocal_*\u003c/tt\u003e and\n\u003ctt\u003eremote_*\u003c/tt\u003e naming convention for your tests.\n\n=== Supported Ruby Versions\nThe library is testend on the following Ruby interpreters:\n* MRI 1.8.7\n* MRI 1.9.3\n* MRI 2.0.x\n* MRI 2.1.x\n* JRuby (both 1.8 and 1.9 modes)\n* Rubinius \n\n== CHANGELOG\nFor details on future plan and working progress see CHANGELOG.\n\n== CAUTION\nThis library is \u003cb\u003ework in process\u003c/b\u003e! Though the interface is mostly complete,\nyou might face some not implemented features.\n\nPlease contact me with your suggestions, bug reports and feature requests.\n== LICENSE\n\nWLAPI is a copyrighted software by Andrei Beliankou, 2010-2016\n\nYou may use, redistribute and change it under the terms provided\nin the LICENSE file.\n","funding_links":[],"categories":["NLP Pipeline Subtasks"],"sub_categories":["Multipurpose Engines"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farbox%2Fwlapi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Farbox%2Fwlapi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farbox%2Fwlapi/lists"}