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

Add TextGrid data file format #6719

Merged
merged 1 commit into from
Mar 8, 2024

Conversation

JJWRoeloffs
Copy link
Contributor

Description

This adds the TextGrid data format with the .TextGrid file extension. This is a text-based data format used in linguistic research for aligning text (usually transcriptions) with audio. It has over 100K files checked in on GitHub. The official documentation for it can be found here: https://www.fon.hum.uva.nl/praat/manual/TextGrid_file_formats.html

As the format suggests, there are indeed more types of ooTextFile, several dozen in fact, but TextGrids are the only ones that are frequently checked into source control.

Checklist:

  • I am adding a new language.
    • The extension of the new language is used in hundreds of repositories on GitHub.com.
    • I have included a real-world usage sample for all extensions added in this PR:
      • Sample license(s):
      • I wrote these myself for unit tests as a part of a Research internship, and am happy to re-licence them under linguist's MIT licence (which I am allowed to do following the terms of the internship).
    • I have included a syntax highlighting grammar:
    • I have added a color
      • Hex value: #c8506d
      • Rationale: Same as Praat, as it is a data format associated with Praat. If it can "inherit" this it might be better, but I cannot find how. Also, it's a data file, so it shouldn't matter too much, as it's not displayed by default.

@JJWRoeloffs JJWRoeloffs requested a review from a team as a code owner February 25, 2024 20:56
Copy link
Member

@lildude lildude left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Thanks.

  • Rationale: Same as Praat, as it is a data format associated with Praat. If it can "inherit" this it might be better, but I cannot find how. Also, it's a data file, so it shouldn't matter too much, as it's not displayed by default.

Makes sense to me. We support grouping of languages using the group attribute, but this isn't really necessary as as you've said, this is a data format so ignored by default. It also doesn't transfer the colour so wouldn't help.

Note: this PR will not be merged until close to when the next release is made. See here for more details.

@lildude lildude added this pull request to the merge queue Mar 8, 2024
Merged via the queue into github-linguist:master with commit 8c35ea0 Mar 8, 2024
5 checks passed
@github-linguist github-linguist locked as resolved and limited conversation to collaborators Jun 19, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants