code: func NewPragmaticSegmenter(lang string) (*PragmaticSegmenter, error) {
  	if p, ok := langToProcessor[lang]; ok {
  		return &PragmaticSegmenter{processor: p}, nil
  	}
  	return nil, errors.New("unknown language")
  }
docs: // NewPragmaticSegmenter creates a new PragmaticSegmenter according to the
  // specified language. If the given language is not supported, an error will be
  // returned.
  //
  // Languages are specified by their two-character ISO 639-1 code. The supported
  // languages are "en" (English), "es" (Spanish), "fr" (French) ... (WIP)