File size: 598 Bytes
21baa2f
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
'''
Created on ١٠‏/٠٣‏/٢٠١٠

@Created by: Muhammad Altabba
'''

from TextEntities import Paragraph
from TextEntities import Sentence
from TextEntities import Word

class Section(object):
    """
     # PyUML: Do not remove this line! # XMI_ID:_qyYg1I35Ed-gg8GOK1TmhA
    """
    '''
    Text Section
    '''
    OriginalString = "";
    
    Paragraphs = []
    #List of instances of the Sentence class:

    def __init__(self, string):
        '''
        Constructor
        '''
        self.OriginalString = string;
        #write code to fill Sections>>Paragraphs>>Sentences>>Words