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.5.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0051a0e3c288580be568058b2a965588b653a79d4f8abf270e136b6c005b49d4 |
|
MD5 | 81db6cf580fd7a71f2cd45694b32a6ec |
|
BLAKE2b-256 | 6652622d49adcdc059c00ce7d508ce54d35318700700890564dd731000b79050 |
Close
Hashes for composition_entity_linker-0.0.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f48d0e3c4a962d4deed800ed8f04e6b33a56362b2fa231eeb547b1058ed9f0a0 |
|
MD5 | 3771bf3c63838774ed64491fa8c09014 |
|
BLAKE2b-256 | 61a7218feba7d0bd2fd877a6a4bb60224ab57fa0de6ce8ccc1bd7e4000e1aa6c |