william commited on
Commit
8cde90d
β€’
1 Parent(s): 9053841

add loading script

Browse files
Files changed (16) hide show
  1. loading_script.py +3 -0
  2. comments_extracted_2016-01_sifted_clean.txt β†’ textfiles/comments_extracted_2016-01_sifted_clean.txt +0 -0
  3. comments_extracted_2016-02_sifted_clean.txt β†’ textfiles/comments_extracted_2016-02_sifted_clean.txt +0 -0
  4. comments_extracted_2017-07_sifted_clean.txt β†’ textfiles/comments_extracted_2017-07_sifted_clean.txt +0 -0
  5. comments_extracted_2018-01_sifted_clean.txt β†’ textfiles/comments_extracted_2018-01_sifted_clean.txt +0 -0
  6. comments_extracted_2018-02_sifted_clean.txt β†’ textfiles/comments_extracted_2018-02_sifted_clean.txt +0 -0
  7. comments_extracted_2018-03_sifted_clean.txt β†’ textfiles/comments_extracted_2018-03_sifted_clean.txt +0 -0
  8. comments_extracted_2018-04_sifted_clean.txt β†’ textfiles/comments_extracted_2018-04_sifted_clean.txt +0 -0
  9. comments_extracted_2018-05_sifted_clean.txt β†’ textfiles/comments_extracted_2018-05_sifted_clean.txt +0 -0
  10. comments_extracted_2018-06_sifted_clean.txt β†’ textfiles/comments_extracted_2018-06_sifted_clean.txt +0 -0
  11. comments_extracted_2018-07_sifted_clean.txt β†’ textfiles/comments_extracted_2018-07_sifted_clean.txt +0 -0
  12. comments_extracted_2018-08_sifted_clean.txt β†’ textfiles/comments_extracted_2018-08_sifted_clean.txt +0 -0
  13. comments_extracted_2018-09_sifted_clean.txt β†’ textfiles/comments_extracted_2018-09_sifted_clean.txt +0 -0
  14. comments_extracted_2018-10_sifted_clean.txt β†’ textfiles/comments_extracted_2018-10_sifted_clean.txt +0 -0
  15. comments_extracted_2018-11_sifted_clean.txt β†’ textfiles/comments_extracted_2018-11_sifted_clean.txt +0 -0
  16. comments_extracted_2018-12_sifted_clean.txt β†’ textfiles/comments_extracted_2018-12_sifted_clean.txt +0 -0
loading_script.py ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ from datasets import load_dataset
2
+ # load dataset
3
+ dataset = load_dataset("text", data_dir="textfiles/")
comments_extracted_2016-01_sifted_clean.txt β†’ textfiles/comments_extracted_2016-01_sifted_clean.txt RENAMED
File without changes
comments_extracted_2016-02_sifted_clean.txt β†’ textfiles/comments_extracted_2016-02_sifted_clean.txt RENAMED
File without changes
comments_extracted_2017-07_sifted_clean.txt β†’ textfiles/comments_extracted_2017-07_sifted_clean.txt RENAMED
File without changes
comments_extracted_2018-01_sifted_clean.txt β†’ textfiles/comments_extracted_2018-01_sifted_clean.txt RENAMED
File without changes
comments_extracted_2018-02_sifted_clean.txt β†’ textfiles/comments_extracted_2018-02_sifted_clean.txt RENAMED
File without changes
comments_extracted_2018-03_sifted_clean.txt β†’ textfiles/comments_extracted_2018-03_sifted_clean.txt RENAMED
File without changes
comments_extracted_2018-04_sifted_clean.txt β†’ textfiles/comments_extracted_2018-04_sifted_clean.txt RENAMED
File without changes
comments_extracted_2018-05_sifted_clean.txt β†’ textfiles/comments_extracted_2018-05_sifted_clean.txt RENAMED
File without changes
comments_extracted_2018-06_sifted_clean.txt β†’ textfiles/comments_extracted_2018-06_sifted_clean.txt RENAMED
File without changes
comments_extracted_2018-07_sifted_clean.txt β†’ textfiles/comments_extracted_2018-07_sifted_clean.txt RENAMED
File without changes
comments_extracted_2018-08_sifted_clean.txt β†’ textfiles/comments_extracted_2018-08_sifted_clean.txt RENAMED
File without changes
comments_extracted_2018-09_sifted_clean.txt β†’ textfiles/comments_extracted_2018-09_sifted_clean.txt RENAMED
File without changes
comments_extracted_2018-10_sifted_clean.txt β†’ textfiles/comments_extracted_2018-10_sifted_clean.txt RENAMED
File without changes
comments_extracted_2018-11_sifted_clean.txt β†’ textfiles/comments_extracted_2018-11_sifted_clean.txt RENAMED
File without changes
comments_extracted_2018-12_sifted_clean.txt β†’ textfiles/comments_extracted_2018-12_sifted_clean.txt RENAMED
File without changes