Guest User

Untitled

a guest
Mar 23rd, 2018
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.68 KB | None | 0 0
  1. datasets/DBNAME.autolabeled_revisions.SAMPLE_NAME.no_review.json:
  2. datasets/DBNAME.autolabeled_revisions.SAMPLE_NAME.json
  3. cat $< | \
  4. grep -P '"needs_review": (false|"False")' > $@
  5.  
  6. datasets/DBNAME.human_labeled_revisions.SAMPLE_NAME.no_review.json: \
  7. datasets/DBNAME.human_labeled_revisions.SAMPLE_NAME.json
  8. cat $< | \
  9. grep -P '"needs_review": (false|"False")' > $@
  10.  
  11. datasets/DBNAME.labeled_revisions.SAMPLE_NAME.json: \
  12. datasets/DBNAME.autolabeled_revisions.SAMPLE_NAME.no_review.json \
  13. datasets/DBNAME.human_labeled_revisions.SAMPLE_NAME.no_review.json
  14. (merge_labels $^;
  15. cat datasets/DBNAME.human_labeled_revisions.SAMPLE_NAME.json | \
  16. grep -P '"needs_review": (true|"True")') > $@
Add Comment
Please, Sign In to add comment