Class: Datasets::WikipediaKyotoJapaneseEnglish::Title

Inherits:
Struct
  • Object
show all
Defined in:
lib/datasets/wikipedia-kyoto-japanese-english.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#englishObject

Returns the value of attribute english

Returns:

  • (Object)

    the current value of english



23
24
25
# File 'lib/datasets/wikipedia-kyoto-japanese-english.rb', line 23

def english
  @english
end

#japaneseObject

Returns the value of attribute japanese

Returns:

  • (Object)

    the current value of japanese



23
24
25
# File 'lib/datasets/wikipedia-kyoto-japanese-english.rb', line 23

def japanese
  @japanese
end

#sectionObject

Returns the value of attribute section

Returns:

  • (Object)

    the current value of section



23
24
25
# File 'lib/datasets/wikipedia-kyoto-japanese-english.rb', line 23

def section
  @section
end

Instance Method Details

#sentence?Boolean

Returns:

  • (Boolean)


30
31
32
# File 'lib/datasets/wikipedia-kyoto-japanese-english.rb', line 30

def sentence?
  false
end

#title?Boolean

Returns:

  • (Boolean)


26
27
28
# File 'lib/datasets/wikipedia-kyoto-japanese-english.rb', line 26

def title?
  true
end