lingpy / linse

A Python library for the manipulation of linguistic sequences.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

annotate functionalities

LinguList opened this issue · comments

  • sequence.soundclasses.token2class
  • sequence.soundclasses.tokens2class
  • sequence.soundclasses.prosodic_weights
  • sequence.soundclasses.prosodic_string
  • sequence.soundclasses.class2tokens (a function that carries gaps in one sequence over to another sequence, important in alignmnent analyses, could also be just used there as a utiltiy function)
  • sequence.soundclasses.codepoints (very general, but maybe useful to have this in a fixed place from now on, similar to other unicode functionalities?)

Note that the tokens2class stuff requires the sound class models, but one might think of also handling them differently this time.

the sinopy function get_structure would also belong here.

class2tokens is not fitting into "annotate", so should go into "manipulate"