func HandleProcess(w http.ResponseWriter, r *http.Request) {
	log.Println("START handling", r.URL)
	log.Println("Proto", r.Proto, "TLS", r.TLS, "Host", r.Host)

	w.Header().Add("Content-type", "application/json")
	action := r.URL.Query().Get("action")
	result := ""

	if action == "delete-without-pronuncation" {
		deleteWordsWithoutPronunciation()
	}
	if action == "create-slavic-pronuncation" {
		dybmpronounce.CreateSlavicPronuncationFile()
	}
	if action == "create-word-relations" {
		result = createWordRelations()
	}
	if action == "create-final-ngrams" {
		n := r.URL.Query().Get("n")
		createFinalNgramsFile(n)
	}
	if action == "create-ngrams-bigquery" {
		n := r.URL.Query().Get("n")
		createNgramsBigQuery(n)
	}

	w.Write([]byte(result))

	log.Println("DONE handling", r.URL)
}
// HandleProcess handles the /process URL and does all the work
// It takes all the imported ngrams and tries to guess:
//	- the number of syllables
//	- th pronunciation
HandleProcess handles the /process URL and does all the work
It takes all the imported ngrams and tries to guess:
- the number of syllables
- th pronunciation
// HandleProcess handles the / process URL and does all the work // It takes all the imported ngrams and tries to guess : // - the number of syllables // - th pronunciation
func HandleProcess(w http.ResponseWriter, r *http.Request) {
	log.Println("START handling", r.URL)
	log.Println("Proto", r.Proto, "TLS", r.TLS, "Host", r.Host)
	w.Header().Add("Content-type", "application/json")
	action := r.URL.Query().Get("action")
	result := ""
	if action == "delete-without-pronuncation" {
		deleteWordsWithoutPronunciation()
	}
	if action == "create-slavic-pronuncation" {
		dybmpronounce.CreateSlavicPronuncationFile()
	}
	if action == "create-word-relations" {
		result = createWordRelations()
	}
	if action == "create-final-ngrams" {
		n := r.URL.Query().Get("n")
		createFinalNgramsFile(n)
	}
	if action == "create-ngrams-bigquery" {
		n := r.URL.Query().Get("n")
		createNgramsBigQuery(n)
	}
	w.Write([]byte(result))
	log.Println("DONE handling", r.URL)
}
func HandleProcess ( w http . ResponseWriter , r * http . Request ) { log . Println ( " " , r . URL ) log . Println ( " " , r . Proto , " " , r . TLS , " " , r . Host ) w . Header ( ) . Add ( " " , " " ) action := r . URL . Query ( ) . Get ( " " ) result := " " if action == " " { deleteWordsWithoutPronunciation ( ) } if action == " " { dybmpronounce . CreateSlavicPronuncationFile ( ) } if action == " " { result = createWordRelations ( ) } if action == " " { n := r . URL . Query ( ) . Get ( " " ) createFinalNgramsFile ( n ) } if action == " " { n := r . URL . Query ( ) . Get ( " " ) createNgramsBigQuery ( n ) } w . Write ( [ ] byte ( result ) ) log . Println ( " " , r . URL ) }
HandleProcess handles the /process URL and does all the work
It takes all the imported ngrams and tries to guess:
 the number of syllables
 th pronunciation
HandleProcess handles the / process URL and does all the work It takes all the imported ngrams and tries to guess : the number of syllables th pronunciation