Datasets:
Update earnings_call.py
Browse files- earnings_call.py +3 -3
earnings_call.py
CHANGED
@@ -36,7 +36,7 @@ _URLS = {
|
|
36 |
"transcripts": "./transcripts.zip",
|
37 |
"stock_prices": "./stock_prices.zip",
|
38 |
"transcript-sentiment": {
|
39 |
-
"
|
40 |
"transcripts": "./transcripts.zip",
|
41 |
},
|
42 |
}
|
@@ -113,8 +113,8 @@ class EarningsCallDataset(datasets.GeneratorBasedBuilder):
|
|
113 |
data_dir = dl_manager.download_and_extract(_URLS[self.config.name])
|
114 |
|
115 |
if self.config.name == "transcript-sentiment":
|
116 |
-
transcript_dir = Path(data_dir["transcripts"])
|
117 |
-
stocks_dir = Path(data_dir["
|
118 |
|
119 |
return [
|
120 |
datasets.SplitGenerator(
|
|
|
36 |
"transcripts": "./transcripts.zip",
|
37 |
"stock_prices": "./stock_prices.zip",
|
38 |
"transcript-sentiment": {
|
39 |
+
"stock_prices": "./stock_prices.zip",
|
40 |
"transcripts": "./transcripts.zip",
|
41 |
},
|
42 |
}
|
|
|
113 |
data_dir = dl_manager.download_and_extract(_URLS[self.config.name])
|
114 |
|
115 |
if self.config.name == "transcript-sentiment":
|
116 |
+
transcript_dir = Path(data_dir["transcripts"]) / "transcripts"
|
117 |
+
stocks_dir = Path(data_dir["stock_prices"]) / "stock_prices"
|
118 |
|
119 |
return [
|
120 |
datasets.SplitGenerator(
|