https://github.com/christram/tln-miage-ia2-3
NLP Project #3
https://github.com/christram/tln-miage-ia2-3
nltk npl python
Last synced: 13 days ago
JSON representation
NLP Project #3
- Host: GitHub
- URL: https://github.com/christram/tln-miage-ia2-3
- Owner: ChrisTram
- Created: 2021-01-14T09:23:58.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2021-01-28T19:37:01.000Z (over 4 years ago)
- Last Synced: 2025-01-19T08:15:19.221Z (9 months ago)
- Topics: nltk, npl, python
- Language: Python
- Homepage:
- Size: 593 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# TLN-MIAGE-IA2-3
Voir rapport.pdf pour toutes les informations liées au projet.
# A result example :
```
------------
Request : disease AND severe AND pneumonia['diseas', 'and', 'sever', 'and', 'pneumonia']
[[0, 1, 2, 3, 4, 5, 6, 8, 9], 'and', [0, 1, 2, 3, 4, 5, 6, 8, 9], 'and', [0, 2, 6, 8]]
[[0, 1, 2, 3, 4, 5, 6, 8, 9], 'and', [0, 1, 2, 3, 4, 5, 6, 8, 9], 'and', [0, 2, 6, 8]]
[0, 2, 6, 8]
------------
Request : antibody AND plasma AND (cells OR receptors)['antibodi', 'and', 'plasma', 'and', '(', 'cell', 'or', 'receptor', ')']
[[0, 1, 2, 3, 4, 6, 8, 9], 'and', [0, 1, 3, 4, 8], 'and', '(', [0, 1, 3, 4, 8, 9], 'or', [0, 2, 4, 8, 9], ')']
[[0, 1, 2, 3, 4, 6, 8, 9], 'and', [0, 1, 3, 4, 8], 'and', [0, 1, 3, 4, 8, 9, 0, 2, 4, 8, 9]]
[0, 1, 3, 4, 8]
------------
Request : antimalarial drugs OR antiviral agents OR immunomodulators['antimalari', 'drug', 'or', 'antivir', 'agent', 'or', 'immunomodul']
[[0, 4], 'and', [0, 1, 3, 4, 6, 8], 'or', [0, 2, 3, 4, 8], 'and', [0, 1, 2, 3, 4], 'or', [3]]
[[0, 4], 'and', [0, 1, 3, 4, 6, 8], 'or', [0, 2, 3, 4, 8], 'and', [0, 1, 2, 3, 4], 'or', [3]]
[0, 4, 2, 3]
------------
Request : NOT plasma AND risk of infection AND restrictions['not', 'plasma', 'and', 'risk', 'of', 'infect', 'and', 'restrict']
['not', [0, 1, 3, 4, 8], 'and', [0, 1, 2, 3, 4, 5, 6, 7, 8, 9], 'and', [0, 1, 2, 3, 4, 5, 6, 7, 8, 9], 'and', [0, 1, 2, 3, 4, 6, 7, 8, 9], 'and', [0, 6, 7, 8, 9]]
['not', [0, 1, 3, 4, 8], 'and', [0, 1, 2, 3, 4, 5, 6, 7, 8, 9], 'and', [0, 1, 2, 3, 4, 5, 6, 7, 8, 9], 'and', [0, 1, 2, 3, 4, 6, 7, 8, 9], 'and', [0, 6, 7, 8, 9]]
[6, 7, 9]
------------
Request : (older adults AND antibodies) AND NOT (genomes OR variant)['(', 'older', 'adult', 'and', 'antibodi', ')', 'and', 'not', '(', 'genom', 'or', 'variant', ')']
['(', [0, 1, 2, 3, 4, 5, 9], 'and', [0, 1, 5, 8, 9], 'and', [0, 1, 2, 3, 4, 6, 8, 9], ')', 'and', 'not', '(', [0], 'or', [0, 4], ')']
[[0, 1, 9], 'and', 'not', [0, 0, 4]]
[1, 9]
------------
Request : antibody treatments['antibodi', 'treatment']
[[0, 1, 2, 3, 4, 6, 8, 9], 'and', [0, 1, 2, 3, 4, 6, 8, 9]]
[[0, 1, 2, 3, 4, 6, 8, 9], 'and', [0, 1, 2, 3, 4, 6, 8, 9]]
[0, 1, 2, 3, 4, 6, 8, 9]
------------
Request : efficacy and safety of the treatments['efficaci', 'and', 'safeti', 'of', 'the', 'treatment']
[[1, 2, 3, 4, 5, 9], 'and', [0, 1, 2, 3, 4], 'and', [0, 1, 2, 3, 4, 5, 6, 7, 8, 9], 'and', [0, 1, 2, 3, 4, 5, 6, 7, 8, 9], 'and', [0, 1, 2, 3, 4, 6, 8, 9]]
[[1, 2, 3, 4, 5, 9], 'and', [0, 1, 2, 3, 4], 'and', [0, 1, 2, 3, 4, 5, 6, 7, 8, 9], 'and', [0, 1, 2, 3, 4, 5, 6, 7, 8, 9], 'and', [0, 1, 2, 3, 4, 6, 8, 9]]
[1, 2, 3, 4]
------------
Request : family access to hospitals['famili', 'access', 'to', 'hospit']
[[0, 1, 3, 7], 'and', [0, 1, 2, 3, 7, 8], 'and', [0, 1, 2, 3, 4, 5, 6, 7, 8, 9], 'and', [0, 1, 2, 3, 4, 6, 7, 8, 9]]
[[0, 1, 3, 7], 'and', [0, 1, 2, 3, 7, 8], 'and', [0, 1, 2, 3, 4, 5, 6, 7, 8, 9], 'and', [0, 1, 2, 3, 4, 6, 7, 8, 9]]
[0, 1, 3, 7]
------------
```