Enhance output of audformat.Database.description
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 48/100
Research direction
Start at the audformat.Database.description entry point and reproduce the emodb and audioset examples from the issue. Determine how descriptions are rendered when printed, then verify that ordinary text is readable and intentional spacing or line formatting is preserved.
Written by the indexing model from the issue text.
Description
At the moment we get the following:
>>> import audb
>>> db = audb.load('emodb', version='1.1.0')
>>> db.description
'Berlin Database of Emotional Speech. A German database of emotional utterances spoken by actors recorded as a part of the DFG funded research project SE462/3-1 in 1997 and 1999. Recordings took place in the anechoic chamber of the Technical University Berlin, department of Technical Acoustics. It contains about 500 utterances from ten different actors expressing basic six emotions and neutral.'
which is not very nice to read.
It get's even worse if you have some real formatting in the description string.
For example, for audioset the description contains:
AudioSet ontology categories of the two top hierarchies:
Human sounds Animal Music
|-Human voice |-Domestic animals, pets |-Musical instrument
|-Whistling |-Livestock, farm |-Music genre
|-Respiratory sounds | animals, working |-Musical concepts
|-Human locomotion | animals |-Music role
|-Digestive \-Wild animals \-Music mood
|-Hands
|-Heart sounds, Sounds of things Natural sounds
| heartbeat |-Vehicle |-Wind
|-Otoacoustic emission |-Engine |-Thunderstorm
\-Human group actions |-Domestic sounds, |-Water
| home sounds \-Fire
Source-ambiguous sounds |-Bell
|-Generic impact sounds |-Alarm Channel, environment
|-Surface contact |-Mechanisms and background
|-Deformable shell |-Tools |-Acoustic environment
|-Onomatopoeia |-Explosion |-Noise
|-Silence |-Wood \-Sound reproduction
\-Other sourceless |-Glass
|-Liquid
|-Miscellaneous sources
\-Specific impact sounds
which would be nice if we could preserve it when printing to screen.
- Dominant language
- Python
- Stars
- 13
- Forks
- 2
- Avg merge
- 6d 12h
- Merged PRs (30d)
- 4
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from audeering/audformat
-
Difficulty 1/5 1-3 hours Newbie friendliness 68/100
-
enhancement
Difficulty 5/5 Over a week Newbie friendliness 25/100
-
documentation
Difficulty 2/5 1-3 hours Newbie friendliness 45/100
-
question
Difficulty 3/5 1-2 days Newbie friendliness 35/100
-
documentation enhancement
Difficulty 3/5 1-2 days Newbie friendliness 35/100
All issues in audeering/audformat
Similar issues
-
bug needs-triage priority:medium
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
yeongseon/azure-functions-logging-python#583 ·
Maintainers usually reply within 1 day
-
documentation needs-triage priority:medium
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
yeongseon/azure-functions-validation-python#546 ·
Maintainers usually reply within 1 day
-
PHP workflow streaming requests buffer the full SSE responsePossibly taken @Winoren claimed this today. Openreview: medium
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
langgenius/dify#44270 · 1 comment · 1 reaction ·
Maintainers usually reply within 1 day
-
P4: low
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
jeffknupp/association#523 ·
-
bug help wanted
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
DarkStarSystems/pcons#229 ·
Maintainers usually reply within 1 day