Skip to content

Allow to assign more than one tier to a sequence. #6

Description

@LinguList

Our current tier-annotation works in such a way that a sound class or a number of sounds indicated by [] brackets are given a default tier of '' (empty string), which is the Segments tiere. In fact, the same behaviour can be reached when writing @[a b c] and parsing it.

What is missing by now is to allow to specify multiple tiers for just one position.

In the self-context, this is not a direct problem, as we can adjust the regex first and later analyze the whole regex into parts.

For the other aspects, we would need to adjust the parser, since it would need to produce the output:

>>> get_context("@initial[p t k]@[b] [p t k] _")
[ 
  [ 
    [ "p", "t", "k"],
    [ "b"]
  ],
  [
    ["p", "t", "k"]
  ]
], 
[ [ "initial", ""], [""] ]

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions