QNLP  v1.0
QNLP.tagging.word_types.Sentence Class Reference
Collaboration diagram for QNLP.tagging.word_types.Sentence:
Collaboration graph

Public Member Functions

def __init__ (self, structure)
 
def __str__ (self)
 

Data Fields

 structure
 

Detailed Description

Definition at line 81 of file word_types.py.

Constructor & Destructor Documentation

◆ __init__()

def QNLP.tagging.word_types.Sentence.__init__ (   self,
  structure 
)

Definition at line 82 of file word_types.py.

82  def __init__(self, structure):
83  self.structure = structure

Member Function Documentation

◆ __str__()

def QNLP.tagging.word_types.Sentence.__str__ (   self)

Definition at line 84 of file word_types.py.

84  def __str__(self):
85  return 's:' + ','.join([s.label for s in self.structure])
86 

References QNLP.tagging.word_types.Sentence.structure.

Field Documentation

◆ structure

QNLP.tagging.word_types.Sentence.structure

Definition at line 83 of file word_types.py.

Referenced by QNLP.tagging.word_types.Sentence.__str__().


The documentation for this class was generated from the following file: