class_docstr: Data preparation script for the Swiss French Polyphone corpus.
  
  This class provides the scripting backbone for preparing the
  Swiss French Polyphone corpus for ASR training with espnet.  This
  script was written in reference to the following version of the
  corpus as listed on ELRA:
  
  This class/script, together with the corresponding configuration
  file `conf/dataprep.yaml` perform all required data prep.
  
  .. _ELRA-S0030_02:
      http://catalog.elra.info/en-us/repository/browse/ELRA-S0030_02
class_docstr_tok: ["Data","preparation","script","for","the","Swiss","French","Polyphone","corpus",".","This","class","provides","the","scripting","backbone","for","preparing","the","Swiss","French","Polyphone","corpus","for","ASR","training","with","espnet",".","This","script","was","written","in","reference","to","the","following","version","of","the","corpus","as","listed","on","ELRA",":","This","class\/script",",","together","with","the","corresponding","configuration","file","`","conf\/dataprep.yaml","`","perform","all","required","data","prep",".","..","_ELRA-S0030_02",":","http",":","\/\/catalog.elra.info\/en-us\/repository\/browse\/ELRA-S0030_02"]
docstr: Helper function to load pre-defined train/dev/test lists.
  
  Helper function to load pre-defined train/dev/test lists if
  provided by the user at initialization time.
docstr_tok: ["Helper","function","to","load","pre-defined","train\/dev\/test","lists",".","Helper","function","to","load","pre-defined","train\/dev\/test","lists","if","provided","by","the","user","at","initialization","time","."]
code: def _loadlists(self):
      """Helper function to load pre-defined train/dev/test lists.
  
      Helper function to load pre-defined train/dev/test lists if
      provided by the user at initialization time.
  
      """
      trainlist = set([])
      with open(self.trainlist) as ifp:
          for fid in ifp:
              trainlist.add(fid.strip())
      self.trainlist = trainlist
  
      devlist = set([])
      with open(self.devlist) as ifp:
          for fid in ifp:
              devlist.add(fid.strip())
      self.devlist = devlist
  
      testlist = set([])
      with open(self.testlist) as ifp:
          for fid in ifp:
              testlist.add(fid.strip())
      self.testlist = testlist
  
      return
  
imports: import os
  import pathlib
  import re
  import subprocess
  import sys
  from collections import defaultdict
  from random import shuffle
label_desc: Use image node_id 2 for calling the FrPolyphonePrepper obj's underlying member method code with example usage: obj._loadlists() without return types