Closed dvdmrn closed 7 years ago
Can you try this on the develop branch? I think corpora with [g] do now load, but we may have a problem where [g] isn't showing up in the inventory window (e.g., if you go to Corpus / Summary).
Basically [g]s are working, but they don't show up in the summary window (they are in the manage inventory window). Other unrecognized segments are listed as uncategorized in both. g-text.txt
update: this appears to be a character encoding issue. When importing corpora with mixed types of
File "/usr/local/lib/python3.5/dist-packages/corpustools-1.2.0-py3.5.egg/corpustools/gui/main.py", line 456, in manageInventoryChart if not self.inventoryModel._data: AttributeError: 'NoneType' object has no attribute '_data'
Hmm, just tried the g-text corpus again, and [g] did show up correctly as uncategorized, which is great. But then tried a corpus containing both a text
working for the moment??
Whenever I import a .csv with a [g] in the transcription I get
KeyError: 'g'
. I'm using the ipa2hayes feature matrix. Any guesses as to why that is? As long as there's no g's everything else seems to run fine.Here's the code I'm running if it means anything