yes-man-today commited on
Commit
50a2c02
1 Parent(s): 0c3f2ab

debugging comments

Browse files
Files changed (1) hide show
  1. regulatory_comments.py +1 -12
regulatory_comments.py CHANGED
@@ -93,18 +93,7 @@ class RegComments(datasets.GeneratorBasedBuilder):
93
  docket_purpose = docket.get("purpose", "unspecified")
94
  docket_keywords = docket.get("keywords", [])
95
  comments = docket["comments"]
96
- # for comment in docket["comments"]:
97
- # comment_data = {
98
- # "text": comment["text"],
99
- # "comment_id": comment["comment_id"],
100
- # "comment_url": comment["comment_url"],
101
- # "comment_date": comment["comment_date"],
102
- # "comment_title": comment["comment_title"],
103
- # "commenter_fname": comment["commenter_fname"],
104
- # "commenter_lname": comment["commenter_lname"],
105
- # "comment_length": comment["comment_length"]
106
- # }
107
- # comments.append(comment_data)
108
 
109
  yield key, {
110
  "id": docket_id,
 
93
  docket_purpose = docket.get("purpose", "unspecified")
94
  docket_keywords = docket.get("keywords", [])
95
  comments = docket["comments"]
96
+ print(f'this is in the docket in data{type(comments)}')
 
 
 
 
 
 
 
 
 
 
 
97
 
98
  yield key, {
99
  "id": docket_id,