CCChenhao997 / DualGCN-ABSA

Dual Graph Convolutional Networks for Aspect-based Sentiment Analysis
MIT License
131 stars 29 forks source link

issue about asp_start #18

Open free-qc opened 1 year ago

free-qc commented 1 year ago

https://github.com/CCChenhao997/DualGCN-ABSA/blob/e8975264b0802f1fca4ebbc96f30a03ec2717311/DualGCN/data_utils.py#L341

the asp_start is calculated before left_tokens being truncated by running the codes below, which may cause that the length of aspect_mask exceeds opt.max_length. https://github.com/CCChenhao997/DualGCN-ABSA/blob/e8975264b0802f1fca4ebbc96f30a03ec2717311/DualGCN/data_utils.py#L355-L361