bootphon / ABXpy

ABX discrimination task in python
https://docs.cognitive-ml.fr/ABXpy
MIT License
43 stars 16 forks source link

ABX does not like Unicode symbols #19

Closed jukaradayi closed 2 years ago

jukaradayi commented 4 years ago

When trying to create task file from an item file that contains unicode symbols (IPA symbols), I got the following error: "UnicodeEncodeError: "ascii" codec can't encode character '\u02d0' in position 1"

manelkhentout commented 2 years ago

Its work with changing the dtype=S to dtype=dt on get_array function, line363`