Class: Datasets::NagoyaUniversityConversationCorpus::Sentence

Inherits:
Struct
  • Object
show all
Defined in:
lib/datasets/nagoya-university-conversation-corpus.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#contentObject

Returns the value of attribute content

Returns:

  • (Object)

    the current value of content



23
24
25
# File 'lib/datasets/nagoya-university-conversation-corpus.rb', line 23

def content
  @content
end

#participant_idObject

Returns the value of attribute participant_id

Returns:

  • (Object)

    the current value of participant_id



23
24
25
# File 'lib/datasets/nagoya-university-conversation-corpus.rb', line 23

def participant_id
  @participant_id
end

Instance Method Details

#end?Boolean

Returns:

  • (Boolean)


24
25
26
# File 'lib/datasets/nagoya-university-conversation-corpus.rb', line 24

def end?
  participant_id.nil? and content.nil?
end