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.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1dd3f7948166af1802ee6dd9328fcd9aa308c2f22a552a1086f90adf36a40011 |
|
MD5 | f03c844f670bd8e69a498299da8d02a8 |
|
BLAKE2b-256 | 3778d793a9bbdfee95008535050aa862d69497dbb4f42669d80934d6d3d7c757 |
Close
Hashes for composition_entity_linker-0.0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3c7c65d938c97b66c1311c55e04231aabf8b79da0cb91d9e65137ed1a00471b2 |
|
MD5 | 78095e774b76bedf42c8416505a188fb |
|
BLAKE2b-256 | e7d1e482d2e5f3337e5f156ffc2ef5098f4bc24fcfb9b056216257a52a9cd375 |