Tool for linking classical music record & track to the corresponding composition / movement.
Project description
Composition Entity Linker (under development)
This is a tool for linking classical music record & track to the corresponding composition / movement. The reference corpus is based on databased crawled from https://imslp.org/wiki/Main_Page.
install
pip install composition-entity-linker
usage
from composition_entity_linker import CELlinker, Track
linker = CELlinker()
query the composition from track name:
track = Track("Violin Sonata in A Major, Op. 162, D. 574 ""Grand Duo"": III. Andantino (Live)", composer="Franz Schubert")
composition = linker.query(track)
compare if the two tracks are refering to the same composition:
track1 = Track("Prelude and Fugue No. 2 in C Minor BWV 847")
track2 = Track("Prelude & Fugue In C Minor (Well-Tempered Clavier, Book I, No. 2), BWV 847")
linker.compare(track1, track2)
Track info
Track(title: str,
duration: float in ms,
composer: str)
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for composition_entity_linker-0.0.4.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 318f719940d478f0d7828f39c5a01e7703d8d8ffb2555f5d79818baa15028e59 |
|
MD5 | 10a084a514b533ad2588752c73d05435 |
|
BLAKE2b-256 | e48bf8313112225d9f6bb73633ca23355c8ba54eb76d3ab7efa829e7775347d5 |
Close
Hashes for composition_entity_linker-0.0.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c4a1ccdbd5f2b880b600fc7339cdfe412243a95b8b9c43c23a9eb5250c082641 |
|
MD5 | a9a949c6e28aa2bd02c74b0ed177783f |
|
BLAKE2b-256 | d22a3943310772b17508ad25480c8d79df67e7184473e07b987378b4a56ee7aa |