Class: Datasets::WikipediaKyotoJapaneseEnglish::Sentence
- Inherits:
-
Struct
- Object
- Struct
- Datasets::WikipediaKyotoJapaneseEnglish::Sentence
- Defined in:
- lib/datasets/wikipedia-kyoto-japanese-english.rb
Instance Attribute Summary collapse
-
#english ⇒ Object
Returns the value of attribute english.
-
#id ⇒ Object
Returns the value of attribute id.
-
#japanese ⇒ Object
Returns the value of attribute japanese.
-
#paragraph ⇒ Object
Returns the value of attribute paragraph.
-
#section ⇒ Object
Returns the value of attribute section.
Instance Method Summary collapse
Instance Attribute Details
#english ⇒ Object
Returns the value of attribute english
38 39 40 |
# File 'lib/datasets/wikipedia-kyoto-japanese-english.rb', line 38 def english @english end |
#id ⇒ Object
Returns the value of attribute id
38 39 40 |
# File 'lib/datasets/wikipedia-kyoto-japanese-english.rb', line 38 def id @id end |
#japanese ⇒ Object
Returns the value of attribute japanese
38 39 40 |
# File 'lib/datasets/wikipedia-kyoto-japanese-english.rb', line 38 def japanese @japanese end |
#paragraph ⇒ Object
Returns the value of attribute paragraph
38 39 40 |
# File 'lib/datasets/wikipedia-kyoto-japanese-english.rb', line 38 def paragraph @paragraph end |
#section ⇒ Object
Returns the value of attribute section
38 39 40 |
# File 'lib/datasets/wikipedia-kyoto-japanese-english.rb', line 38 def section @section end |
Instance Method Details
#sentence? ⇒ Boolean
47 48 49 |
# File 'lib/datasets/wikipedia-kyoto-japanese-english.rb', line 47 def sentence? true end |
#title? ⇒ Boolean
43 44 45 |
# File 'lib/datasets/wikipedia-kyoto-japanese-english.rb', line 43 def title? false end |