daily pastebin goal
6%
SHARE
TWEET

Untitled

a guest Jun 7th, 2017 139 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Guys, I got this file:
  2.  
  3.  
  4. Mary bought lemons on day 1
  5. Mary bought lemons on day 2
  6. Mary bought lemons on day 3
  7. Mary bought water on day 1
  8. Mary bought water on day 2
  9. Mary bought water on day 3
  10. Mary bought food on day 1
  11. Mary bought food on day 2
  12. Mary bought food on day 3
  13. Mary bought cat on day 1
  14. Mary bought cat on day 2
  15. Mary bought cat on day 3
  16. ...
  17.  
  18. its called Mary1.txt
  19.  
  20. And I have a words list, such as this:
  21.  
  22. car
  23. house
  24. book
  25. lamp
  26. dog
  27. computer
  28. table
  29. chair
  30.  
  31. named: words.txt
  32.  
  33.  
  34. is there any way to automaticly, given the setence: "Mary bought xxx on day" and the file words.txt, to create 2 files, that each contain the same as mary1.txt but using the words from the file words.txt instead of the words "lemons/water/food/cat" ???
  35.  
  36. Can you help me?
  37. Any tool already avaiable for this?
RAW Paste Data
Top