diff --git a/helper.py b/helper.py new file mode 100644 index 0000000..838bf53 --- /dev/null +++ b/helper.py @@ -0,0 +1,12 @@ +import os + + +def load_data(path): + """ + Load dataset + """ + input_file = os.path.join(path) + with open(input_file, "r") as f: + data = f.read() + + return data.split('\n')