Skip to content

Commit 4c11b01

Browse files
committedApr 30, 2022
update_doc
1 parent 8fc7e93 commit 4c11b01

File tree

2 files changed

+21
-19
lines changed

2 files changed

+21
-19
lines changed
 

‎README.MD

+3-2
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
- [Aspect-based sentiment classification (Multilingual)](https://huggingface.co/spaces/yangheng/PyABSA-APC)
2121
- [Aspect term extraction & sentiment classification (Multilingual)](https://huggingface.co/spaces/yangheng/PyABSA-ATEPC)
2222
- [方面术语提取和情感分类(中文)](https://huggingface.co/spaces/yangheng/PyABSA-ATEPC-Chinese)
23-
-
23+
2424
## Package Overview
2525

2626
<table>
@@ -111,7 +111,7 @@ examples = ['But the staff was so nice to us .',
111111
]
112112

113113
inference_source = ABSADatasetList.Restaurant14
114-
aspect_extractor = ATEPCCheckpointManager.get_aspect_extractor(checkpoint='english')
114+
aspect_extractor = ATEPCCheckpointManager.get_aspect_extractor(checkpoint='multilingual2')
115115
atepc_result = aspect_extractor.extract_aspect(inference_source=inference_source,
116116
save_result=True,
117117
print_result=True, # print the result
@@ -128,6 +128,7 @@ available checkpoints, you can use the following code and load the checkpoint by
128128
```python3
129129
from pyabsa import available_checkpoints
130130

131+
# The results of available_checkpoints() depend on the PyABSA version
131132
checkpoint_map = available_checkpoints() # show available checkpoints of PyABSA of current version
132133
```
133134

‎readme/dataset_readme.md

+18-17
Original file line numberDiff line numberDiff line change
@@ -20,23 +20,24 @@
2020

2121
More datasets are available at [ABSADatasets](https://github.com/yangheng95/ABSADatasets).
2222

23-
1. Twitter
24-
2. Laptop14
25-
3. Restaurant14
26-
4. Restaurant15
27-
5. Restaurant16
28-
6. Phone
29-
7. Car
30-
8. Camera
31-
9. Notebook
32-
10. MAMS
33-
11. TShirt
34-
12. Television
35-
13. MOOC
36-
14. Shampoo (The annotation of this dataset is highly different from other datasets, please dont mix this dataset with other dataset)
37-
15. Yelp
38-
39-
You don't have to download the datasets, as the datasets will be downloaded automatically.
23+
- MAMS https://github.com/siat-nlp/MAMS-for-ABSA
24+
- SemEval 2014: https://alt.qcri.org/semeval2014/task4/index.php?id=data-and-tools
25+
- SemEval 2015: https://alt.qcri.org/semeval2015/task12/index.php?id=data-and-tools
26+
- Chinese: https://www.sciencedirect.com/science/article/abs/pii/S0950705118300972?via%3Dihub
27+
- Shampoo: [brightgems@GitHub](https://github.com/brightgems/ABSADatasets)
28+
- MOOC: [jmc-123@GitHub](https://github.com/jmc-123/ABSADatasets) with GPL License
29+
- Twitter: https://dl.acm.org/doi/10.5555/2832415.2832437
30+
- Television & TShirt: https://github.com/rajdeep345/ABSA-Reproducibility
31+
- Yelp: [WeiLi9811@GitHub](https://github.com/WeiLi9811)
32+
- SemEval2016Task5: [YaxinCui@GitHub](https://github.com/YaxinCui/ABSADataset)
33+
- Arabic Hotel Reviews
34+
- Dutch Restaurant Reviews
35+
- English Restaurant Reviews
36+
- French Restaurant Reviews
37+
- Russian Restaurant Reviews
38+
- Spanish Restaurant Reviews
39+
- Turkish Restaurant Reviews
40+
You don't have to download the datasets, as the datasets will be downloaded automatically.
4041

4142
## Annotate Your Own Dataset
4243

0 commit comments

Comments
 (0)
Please sign in to comment.