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

segments.get_structure does not recognize syllabic consonants #3

Open
LinguList opened this issue Mar 7, 2020 · 8 comments
Open

segments.get_structure does not recognize syllabic consonants #3

LinguList opened this issue Mar 7, 2020 · 8 comments
Labels

Comments

@LinguList
Copy link
Collaborator

Sequences like k ŋ ⁵ are not readily segmented into either i c t, but instead the consonant is dropped:

In [2]: from sinopy.segments import get_structure                                                                                                                                                                                             

In [3]: get_structure('kn⁵')                                                                                                                                                                                                                  
Out[3]: <generator object get_structure at 0x7f7651369e40>

In [4]: list(get_structure('k n ⁵'))                                                                                                                                                                                                          
Out[4]: [['i', 't']]
@LinguList LinguList added the bug label Mar 7, 2020
@LinguList
Copy link
Collaborator Author

Error lies in the function sinopy.parse_chinese_morphemes.

@LinguList
Copy link
Collaborator Author

And there, the error lies in the prosodic string of lingpy, which is AAT in this case, but should rather be AXT.

@Wu-Urbanek
Copy link
Collaborator

Wu-Urbanek commented Mar 18, 2020

The same issue occurs in these words :
ⁿp u/ʐʷ ¹³ ----> "i t"
ⁿp u/lʷ ¹³ ----> "i t"

@LinguList
Copy link
Collaborator Author

LinguList commented Mar 18, 2020 via email

@Wu-Urbanek
Copy link
Collaborator

This one : mpʐu¹³ ---> ⁿp u/ʐʷ ¹³ --- "i t"

@LinguList
Copy link
Collaborator Author

Okay, the profile seems weird here,in fact the profile is wrong. It should be ⁿp ʐ u ¹³

@Wu-Urbanek
Copy link
Collaborator

ok, I will change this one.

@LinguList
Copy link
Collaborator Author

LinguList commented Mar 18, 2020 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants