Module: Myasorubka::MSD::English

Defined in:
lib/myasorubka/msd/english.rb

Overview

English Specifications by Nancy Ide, Greg Priest-Dorman, Tomaž Erjavec, Tamas Varadi.

nl.ijs.si/ME/V4/msd/html/msd-en.html

Constant Summary collapse

NOUN =

English Noun.

{
  code: 'N',
  attrs: [
    [ :type, {
      common: 'c',
      proper: 'p'
    } ],
    [ :gender, {
      masculine: 'm',
      feminine: 'f',
      neuter: 'n'
    } ],
    [ :number, {
      singular: 's',
      plural: 'p'
    } ]
  ]
}
VERB =

English Verb.

{
  code: 'V',
  attrs: [
    [ :type, {
      main: 'm',
      auxiliary: 'a',
      modal: 'o',
      base: 'b'
    } ],
    [ :vform, {
      indicative: 'i',
      conditional: 'c',
      infinitive: 'n',
      participle: 'p'
    } ],
    [ :tense, {
      present: 'p',
      past: 's'
    } ],
    [ :person, {
      first: '1',
      second: '2',
      third: '3'
    } ],
    [ :number, {
      singular: 's',
      plural: 'p'
    } ]
  ]
}
ADJECTIVE =

English Adjective.

{
  code: 'A',
  attrs: [
    [ :type, {
      qualificative: 'f'
    } ],
    [ :degree, {
      positive: 'p',
      comparative: 'c',
      superlative: 's'
    } ]
  ]
}
PRONOUN =

English Pronoun.

{
  code: 'P',
  attrs: [
    [ :type, {
      personal: 'p',
      possessive: 's',
      interrogative: 'q',
      relative: 'r',
      reflexive: 'x',
      general: 'g',
      ex_there: 't'
    } ],
    [ :person, {
      first: '1',
      second: '2',
      third: '3'
    } ],
    [ :gender, {
      masculine: 'm',
      feminine: 'f',
      neuter: 'n'
    } ],
    [ :number, {
      singular: 's',
      plural: 'p'
    } ],
    [ :case, {
      nominative: 'n',
      accusative: 'a'
    } ],
    [ :owner_number, {
      singular: 's',
      plural: 'p'
    } ],
    [ :owner_gender, {
      masculine: 'm',
      feminine: 'f'
    } ],
    [ :wh_type, {
      relative: 'r',
      question: 'q'
    } ],
  ]
}
DETERMINER =

English Determiner.

{
  code: 'D',
  attrs: [
    [ :type, {
      demonstrative: 'd',
      indefinite: 'i',
      possessive: 's',
      general: 'g'
    } ],
    [ :person, {
      first: '1',
      second: '2',
      third: '3'
    } ],
    [ :number, {
      singular: 's',
      plural: 'p'
    } ],
    [ :owner_number, {
      singular: 's',
      plural: 'p'
    } ],
    [ :owner_gender, {
      masculine: 'm',
      feminine: 'f',
      neuter: 'n'
    } ],
    [ :wh_type, {
      relative: 'r',
      question: 'q'
    } ]
  ]
}
ADVERB =

English Adverb.

{
  code: 'R',
  attrs: [
    [ :type, {
      modifier: 'm',
      specifier: 's'
    } ],
    [ :degree, {
      positive: 'p',
      comparative: 'c',
      superlative: 's'
    } ],
    [ :wh_type, {
      relative: 'r',
      question: 'q'
    } ]
  ]
}
ADPOSITION =

English Adposition.

{
  code: 'S',
  attrs: [
    [ :type, {
      preposition: 'p',
      postposition: 't'
    } ]
  ]
}
CONJUNCTION =

English Conjunction.

{
  code: 'C',
  attrs: [
    [ :type, {
      coordinating: 'c',
      subordinating: 's'
    } ],
    [ :coord_type, {
      initial: 'i',
      non_initial: 'n'
    } ],
  ]
}
NUMERAL =

English Numeral.

{
  code: 'M',
  attrs: [
    [ :type, {
      cardinal: 'c',
      ordinal: 'o'
    } ],
  ]
}
INTERJECTION =

English Interjection.

{
  code: 'I',
  attrs: []
}
ABBREVIATION =

English Abbreviation.

{
  code: 'Y',
  attrs: []
}
RESIDUAL =

English Residual.

{
  code: 'X',
  attrs: []
}
CATEGORIES =

Actual part-of-speech mapping.

{
  noun: NOUN,
  verb: VERB,
  adjective: ADJECTIVE,
  pronoun: PRONOUN,
  determiner: DETERMINER,
  adverb: ADVERB,
  adposition: ADPOSITION,
  conjunction: CONJUNCTION,
  numeral: NUMERAL,
  interjection: INTERJECTION,
  abbreviation: ABBREVIATION,
  residual: RESIDUAL
}