Sha256: af671807099ef8c518c8b09566bf0bbe196409db5c602a07bb0197b63be7dbdb

Contents?: true

Size: 441 Bytes

Versions: 10

Compression:

Stored size: 441 Bytes

Contents

module Zenlish
  module Lex
    # TODO: document
    class Lexeme
      # @return Zenlish::WClasses::WordClass
      attr_reader :wclass
      
      # @return Zenlish::Lex::LexicalEntry
      attr_reader :entry

      def initialize(aWordClass, anEntry)
        @wclass = aWordClass
        @entry = anEntry
        @entry.add_lexeme(self)
      end

      def lemma
        entry.lemma
      end
    end # class
  end # module
end # module

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
zenlish-0.1.13 lib/zenlish/lex/lexeme.rb
zenlish-0.1.12 lib/zenlish/lex/lexeme.rb
zenlish-0.1.11 lib/zenlish/lex/lexeme.rb
zenlish-0.1.10 lib/zenlish/lex/lexeme.rb
zenlish-0.1.09 lib/zenlish/lex/lexeme.rb
zenlish-0.1.07 lib/zenlish/lex/lexeme.rb
zenlish-0.1.06 lib/zenlish/lex/lexeme.rb
zenlish-0.1.05 lib/zenlish/lex/lexeme.rb
zenlish-0.1.04 lib/zenlish/lex/lexeme.rb
zenlish-0.1.03 lib/zenlish/lex/lexeme.rb