code: func RegisterHandlers(router *mux.Router, pathBase string) {
  	router.HandleFunc(pathBase+"/_analyzerNames", ListAnalyzerNames).Methods("POST")
  	router.HandleFunc(pathBase+"/_datetimeParserNames", ListDateTimeParserNames).Methods("POST")
  	router.HandleFunc(pathBase+"/_charFilterNames", ListCharFilterNames).Methods("POST")
  	router.HandleFunc(pathBase+"/_charFilterTypes", ListCharFilterTypes).Methods("GET")
  	router.HandleFunc(pathBase+"/_tokenizerNames", ListTokenizerNames).Methods("POST")
  	router.HandleFunc(pathBase+"/_tokenizerTypes", ListTokenizerTypes).Methods("GET")
  	router.HandleFunc(pathBase+"/_tokenFilterNames", ListTokenFilterNames).Methods("POST")
  	router.HandleFunc(pathBase+"/_tokenFilterTypes", ListTokenFilterTypes).Methods("GET")
  	router.HandleFunc(pathBase+"/_tokenMapNames", ListTokenMapNames).Methods("POST")
  	router.HandleFunc(pathBase+"/_analyze", AnalyzerText).Methods("POST")
  	router.HandleFunc(pathBase+"/_validateMapping", ValidateMapping).Methods("POST")
  }
docs: // RegisterHandlers registers mapping handlers on a router at the
  // given pathBase, such as at "/api".