Skip to content

ebrooks42/CSN-SAPR

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Introduction

This is the source code of the paper A Neural-network-based Approach to Identifying Speakers in Novels presented on Interspeech 2021. It demonstrates the method to detect the speakers of the utterances in the novel given a fix range of contexts. Speaker-alternation-based revision is implemented in the evaluation script. A copy of the dataset on https://github.com/YueChenkkk/Chinese-Dataset-Speaker-Identification is included in ./data directory.

Usage

For training: bash run_train.sh
For evaluation: python evaluate.py

Requirements

python==3.6
jieba==0.42.1
numpy==1.19.1
torch==1.2.0
tensorflow==2.0.0
transformers==4.6.1
fastprogress==1.0.0

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 98.7%
  • Shell 1.3%