Advertisement
Guest User

Untitled

a guest
Jun 26th, 2017
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Eiffel 1.01 KB | None | 0 0
  1. note
  2.     description: "Summary description for {WORD}."
  3.     author: ""
  4.     date: "$Date$"
  5.     revision: "$Revision$"
  6.  
  7. class
  8.     WORD
  9.  
  10. create
  11.     make
  12.  
  13. feature {NONE}
  14.  
  15.     word: STRING
  16.     level: LEVEL
  17.     topics: LINKED_LIST [STRING]
  18. --    language: LANGUAGE
  19.     picture_path: STRING    --ver esto
  20.     synonyms: LINKED_LIST [WORD] --in Spanish
  21.     translations: LINKED_LIST [STRING] -- in English
  22.     meaning: STRING
  23.  
  24.  
  25.  
  26.  
  27.  
  28.  
  29.  
  30.  
  31.  
  32.  
  33.  
  34.  
  35. note
  36.     description: "Summary description for {VERB}."
  37.     author: ""
  38.     date: "$Date$"
  39.     revision: "$Revision$"
  40.  
  41. class
  42.     INFINITIVE_VERB
  43.  
  44. inherit
  45.     WORD
  46.  
  47. create
  48.     make
  49.  
  50. feature {ANY}
  51.     conjugation : LINKEDLIST [CONJUGATED_VERB]
  52. end
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62. note
  63.     description: "Summary description for {CONJUGATED_VERB}."
  64.     author: ""
  65.     date: "$Date$"
  66.     revision: "$Revision$"
  67.  
  68. class
  69.     CONJUGATED_VERB
  70. inherit
  71.     WORD
  72. create
  73.     make
  74. feature
  75.     stem:VERB
  76.     tense:STRING   -- enum maybe (pasado, presente, fururo)
  77.     subject : STRING -- enum maybe (yo, tu, el, nosotros, vosotros ellos)
  78. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement