Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/liyucheng09/metaphor_processing_analysis
https://github.com/liyucheng09/metaphor_processing_analysis
Last synced: 15 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/liyucheng09/metaphor_processing_analysis
- Owner: liyucheng09
- Created: 2022-01-08T00:33:38.000Z (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2023-09-06T10:50:05.000Z (over 1 year ago)
- Last Synced: 2024-10-30T03:50:25.484Z (2 months ago)
- Language: Python
- Size: 41.9 MB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
## GLUE
`metaphor_identify_glue.py` identify metaphors from glue/empathy corpus.Should use `labeling_no_token_type` model, since predicting metaphors has no `token_type` clues.
Then run `run_glue.py` to have glue results file saved as `glue/val_results_with_vua/vua_and_result_{task}`.
At the end, using `produce_metaphoricity_for_glue()` from `funcs.py` to compute metaphor score and glue results, and make all human-readable.