R .gems => +0 -6
@@ 1,6 0,0 @@
-hoe-deveiate
-loggability
-pg
-sequel
-simplecov
-sqlite3
M History.rdoc => History.md +15 -3
@@ 1,4 1,16 @@
-== v1.1.0 [2017-09-26] Michael Granger <ged@FaerieMUD.org>
+# Release History for wordnet
+
+---
+
+## v1.2.0 [2023-05-10] Michael Granger <ged@FaerieMUD.org>
+
+Enhancements:
+
+- Update for Ruby 3
+- Improve API docs
+
+
+## v1.1.0 [2017-09-26] Michael Granger <ged@FaerieMUD.org>
Enhancements:
@@ 7,14 19,14 @@ Enhancements:
- Documentation updates/fixes
-== v1.0.1 [2016-09-18] Michael Granger <ged@FaerieMUD.org>
+## v1.0.1 [2016-09-18] Michael Granger <ged@FaerieMUD.org>
- Finish up and fix WordNet::Sense
- Add Wordnet::Synset#wordlist
- Documentation fixes, fixes for newer Ruby versions
-== v1.0.0 [2012-08-22] Michael Granger <ged@FaerieMUD.org>
+## v1.0.0 [2012-08-22] Michael Granger <ged@FaerieMUD.org>
Converted to use Sequel and wnsql.
M Manifest.txt +1 -1
@@ 1,4 1,4 @@
-History.rdoc
+History.md
README.md
WordNet30-license.txt
lib/wordnet.rb
R README.rdoc => +0 -101
@@ 1,101 0,0 @@
-= Ruby-WordNet
-
-* https://bitbucket.org/ged/ruby-wordnet/
-
-== Description
-
-This library is a Ruby interface to WordNet®[http://wordnet.princeton.edu/].
-WordNet® is an online lexical reference system whose design is inspired by
-current psycholinguistic theories of human lexical memory. English nouns,
-verbs, adjectives and adverbs are organized into synonym sets, each
-representing one underlying lexical concept. Different relations link the
-synonym sets.
-
-This library uses SqlUNET[http://sqlunet.sourceforge.net/], which is a
-conversion of the WordNet (along with a number of other linguistic databases)
-lexicon flatfiles into a relational database format. You can either install the
-{wordnet-defaultdb}[https://rubygems.org/gems/wordnet-defaultdb] gem, which
-packages up the SQLite3 version of SqlUNet, or install your own and point the
-lexicon at it by passing {Sequel connection
-parameters}[http://sequel.jeremyevans.net/rdoc/files/doc/opening_databases_rdoc.html]
-to the constructor.
-
-=== Usage
-
-There are three major parts to this library:
-
-[WordNet::Lexicon] the interface to the dictionary, used to connect to the
- database and look up Words and Synsets.
-[WordNet::Word] the English word entries in the Lexicon that are mapped
- to Synsets via one or more Senses.
-[WordNet::Synset] the main artifact of WordNet: a "synonym set". These
- are connected to one or more Words through a Sense,
- and are connected to each other via SemanticLinks.
-
-The other object classes exist mostly as a way of representing relationships
-between the main three:
-
-[WordNet::Sense] represents a link between one or more Words and
- one or more Synsets for one meaning of the word.
-[WordNet::SemanticLink] represents a link between Synsets
-[WordNet::LexicalLink] represents a link between Words in Synsets
-[WordNet::Morph] an interface to a lookup table of irregular word
- forms mapped to their base form (lemma)
-
-The last class (WordNet::Model) is the abstract superclass for all the others,
-and inherits most of its functionality from Sequel::Model, the ORM layer
-of the Sequel toolkit. It's mostly just a container for the database
-connection, with some convenience methods to allow the database connection
-to be deferred until runtime instead of when the library loads.
-
-The library also comes with the beginnings of support for the SUMO-WordNet
-mapping:
-
-[WordNet::SumoTerm] {Suggested Upper Merged Ontology}[http://www.ontologyportal.org/]
- terms, with associations back to related Synsets.
-
-As mentioned above, SqlUNet has done an amazing job of linking up a number of
-other useful linguistic lexicons via WordNet synsets. I plan on adding support
-for at minimum VerbNet, FrameNet, and PropBank.
-
-
-== Requirements
-
-* Ruby >= 2.3
-* Sequel >= 5.0
-
-
-== Authors
-
-* Michael Granger <ged@FaerieMUD.org>
-
-
-== License
-
-Copyright (c) 2002-2017, Michael Granger
-All rights reserved.
-
-Redistribution and use in source and binary forms, with or without
-modification, are permitted provided that the following conditions are met:
-
-* Redistributions of source code must retain the above copyright notice,
- this list of conditions and the following disclaimer.
-
-* Redistributions in binary form must reproduce the above copyright notice,
- this list of conditions and the following disclaimer in the documentation
- and/or other materials provided with the distribution.
-
-* Neither the name of the author/s, nor the names of the project's
- contributors may be used to endorse or promote products derived from this
- software without specific prior written permission.
-
-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
-AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
-DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE
-FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
-DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
-SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
-CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
-OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
-OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
M lib/wordnet.rb +1 -1
@@ 14,7 14,7 @@ module WordNet
# Release version
- VERSION = '1.1.0'
+ VERSION = '1.2.0'
# VCS revision
REVISION = %q$Revision: $
M wordnet.gemspec +3 -3
@@ 1,9 1,9 @@
# -*- encoding: utf-8 -*-
-# stub: wordnet 1.2.0.pre.20230510154013 ruby lib
+# stub: wordnet 1.3.0.pre.20230510160526 ruby lib
Gem::Specification.new do |s|
s.name = "wordnet".freeze
- s.version = "1.2.0.pre.20230510154013"
+ s.version = "1.3.0.pre.20230510160526"
s.required_rubygems_version = Gem::Requirement.new("> 1.3.1".freeze) if s.respond_to? :required_rubygems_version=
s.metadata = { "bug_tracker_uri" => "https://todo.sr.ht/~ged/ruby-wordnet/browse", "changelog_uri" => "http://deveiate.org/code/wordnet/History_md.html", "documentation_uri" => "http://deveiate.org/code/wordnet", "homepage_uri" => "https://hg.sr.ht/~ged/ruby-wordnet", "source_uri" => "https://hg.sr.ht/~ged/ruby-wordnet/browse" } if s.respond_to? :metadata=
@@ 12,7 12,7 @@ Gem::Specification.new do |s|
s.date = "2023-05-10"
s.description = "This library is a Ruby interface to WordNet\u00AE. WordNet\u00AE is an online lexical reference system whose design is inspired by current psycholinguistic theories of human lexical memory. English nouns, verbs, adjectives and adverbs are organized into synonym sets, each representing one underlying lexical concept. Different relations link the synonym sets.".freeze
s.email = ["ged@FaerieMUD.org".freeze]
- s.files = ["History.rdoc".freeze, "README.md".freeze, "WordNet30-license.txt".freeze, "lib/wordnet.rb".freeze, "lib/wordnet/constants.rb".freeze, "lib/wordnet/lexicallink.rb".freeze, "lib/wordnet/lexicon.rb".freeze, "lib/wordnet/model.rb".freeze, "lib/wordnet/morph.rb".freeze, "lib/wordnet/semanticlink.rb".freeze, "lib/wordnet/sense.rb".freeze, "lib/wordnet/sumoterm.rb".freeze, "lib/wordnet/synset.rb".freeze, "lib/wordnet/word.rb".freeze, "spec/helpers.rb".freeze, "spec/wordnet/lexicon_spec.rb".freeze, "spec/wordnet/model_spec.rb".freeze, "spec/wordnet/semanticlink_spec.rb".freeze, "spec/wordnet/sense_spec.rb".freeze, "spec/wordnet/synset_spec.rb".freeze, "spec/wordnet/word_spec.rb".freeze, "spec/wordnet_spec.rb".freeze]
+ s.files = ["History.md".freeze, "README.md".freeze, "WordNet30-license.txt".freeze, "lib/wordnet.rb".freeze, "lib/wordnet/constants.rb".freeze, "lib/wordnet/lexicallink.rb".freeze, "lib/wordnet/lexicon.rb".freeze, "lib/wordnet/model.rb".freeze, "lib/wordnet/morph.rb".freeze, "lib/wordnet/semanticlink.rb".freeze, "lib/wordnet/sense.rb".freeze, "lib/wordnet/sumoterm.rb".freeze, "lib/wordnet/synset.rb".freeze, "lib/wordnet/word.rb".freeze, "spec/helpers.rb".freeze, "spec/wordnet/lexicon_spec.rb".freeze, "spec/wordnet/model_spec.rb".freeze, "spec/wordnet/semanticlink_spec.rb".freeze, "spec/wordnet/sense_spec.rb".freeze, "spec/wordnet/synset_spec.rb".freeze, "spec/wordnet/word_spec.rb".freeze, "spec/wordnet_spec.rb".freeze]
s.homepage = "https://hg.sr.ht/~ged/ruby-wordnet".freeze
s.licenses = ["BSD-3-Clause".freeze]
s.post_install_message = "If you don't already have a WordNet database installed somewhere,\nyou'll need to either download and install one from:\n\n http://wnsql.sourceforge.net/\n\nor just install the 'wordnet-defaultdb' gem, which will install\nthe SQLite version for you.\n".freeze