elpaco-escience / scikit-talk

Scikit-talk is an open-source toolkit for processing collections of real-world conversational speech in Python. The toolkit aims to facilitate the exploration of large collections of transcriptions and annotations of conversational interaction.
Apache License 2.0
2 stars 0 forks source link

Change in architecture #41

Closed bvreede closed 10 months ago

bvreede commented 12 months ago

Corpora and conversations are created differently from json:

corpus = sktalk.Corpus.from_json("path/to/json")
convo = sktalk.JsonFile("path/to/json").parse()

It would be better to be more consistent:

corpus = sktalk.Corpus.from_json("path/to/json")
convo = sktalk.Conversation.from_json("path/to/json")

Also with the .cha parser:

convo = sktalk.Conversation.from_cha("path/to/cha")