Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

allow for user-defined tiers for a Segment, like Praat? #14

Closed
NickleDave opened this issue Dec 26, 2018 · 2 comments
Closed

allow for user-defined tiers for a Segment, like Praat? #14

NickleDave opened this issue Dec 26, 2018 · 2 comments
Labels
ENH: enhancement New feature or request

Comments

@NickleDave
Copy link
Collaborator

NickleDave commented Dec 26, 2018

Praat allows for multiple user-defined tiers per segment, e.g. "phoneme", "syllable", "word", "sentence".

http://www.fon.hum.uva.nl/praat/manual/Intro_7__Annotation.html

Not sure if that would be easy to add for Crowsetta.
I was thinking it would require the ability to dynamically add attributes to the Segment class, but I guess there could be an optional tiers attribute that's a dict mapping an annotation to each tier for any instance of a Segment.
But even then seq2csv would have to be able to handle mapping these extra tiers. I guess that's not too painful though if we're iterating over Segments anyway. Just would have to make sure all Segments have the same tiers.

@NickleDave NickleDave changed the title allow for user-defined levels for a Segment, like Praat? allow for user-defined tiers for a Segment, like Praat? Dec 26, 2018
@NickleDave
Copy link
Collaborator Author

Leaving this open but not assigning a milestone for now

Need to think about it more but being able to specify some ranked tiers seems like a "nice-to-have"

@NickleDave NickleDave added the ENH: enhancement New feature or request label May 14, 2022
@NickleDave
Copy link
Collaborator Author

Actually this duplicates #42 so I'm closing this one after just referencing it in #170

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ENH: enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant