
import aistudio.data.text_utils as tp

withHeader = False
inputPath = "examples/bbc4-articles/data/raw/bbc4"
targetPath = "examples/bbc4-articles/data/processed"
inputExtension= 'txt'
outputExtension='csv'
outputFolderName='bbc4'
label=""
index=0
separator=">>"

tp.merge_folder_labelled_text(inputPath,
                                         targetPath,
                                         inputExtension,
                                         outputExtension,
                                         outputFolderName,
                                         separator,
                                         withHeader)


5e1cb25c4b0c0fa39d6064c72aed028701562e03
<mask token>

<mask token>
tp.merge_folder_labelled_text(inputPath, targetPath, inputExtension,
    outputExtension, outputFolderName, separator, withHeader)

<mask token>
withHeader = False
inputPath = 'examples/bbc4-articles/data/raw/bbc4'
targetPath = 'examples/bbc4-articles/data/processed'
inputExtension = 'txt'
outputExtension = 'csv'
outputFolderName = 'bbc4'
label = ''
index = 0
separator = '>>'
tp.merge_folder_labelled_text(inputPath, targetPath, inputExtension,
    outputExtension, outputFolderName, separator, withHeader)

import aistudio.data.text_utils as tp
withHeader = False
inputPath = 'examples/bbc4-articles/data/raw/bbc4'
targetPath = 'examples/bbc4-articles/data/processed'
inputExtension = 'txt'
outputExtension = 'csv'
outputFolderName = 'bbc4'
label = ''
index = 0
separator = '>>'
tp.merge_folder_labelled_text(inputPath, targetPath, inputExtension,
    outputExtension, outputFolderName, separator, withHeader)


import aistudio.data.text_utils as tp

withHeader = False
inputPath = "examples/bbc4-articles/data/raw/bbc4"
targetPath = "examples/bbc4-articles/data/processed"
inputExtension= 'txt'
outputExtension='csv'
outputFolderName='bbc4'
label=""
index=0
separator=">>"

tp.merge_folder_labelled_text(inputPath,
                                         targetPath,
                                         inputExtension,
                                         outputExtension,
                                         outputFolderName,
                                         separator,
                                         withHeader)

