Beispiel #1
0
S_LOCAL void _s_phrase_pos_utt_rev_class_free(s_erc *error)
{
	S_CLR_ERR(error);
	s_class_free(S_OBJECTCLASS(&PhrasePosUttRevFeatProcClass), error);
	S_CHK_ERR(error, S_CONTERR,
			  "_s_phrase_pos_utt_rev_class_free",
			  "Failed to free SPhrasePosUttRevFeatProcClass");
}
Beispiel #2
0
S_LOCAL void _s_winrect_class_free(s_erc *error)
{
	S_CLR_ERR(error);
	s_class_free(S_OBJECTCLASS(&WinRectClass), error);
	S_CHK_ERR(error, S_CONTERR,
			  "_s_winrect_class_free",
			  "Failed to free SWinRectClass");
}
Beispiel #3
0
S_LOCAL void _s_phrasing_utt_proc_class_free(s_erc *error)
{
	S_CLR_ERR(error);
	s_class_free(S_OBJECTCLASS(&PhrasingUttProcClass), error);
	S_CHK_ERR(error, S_CONTERR,
			  "_s_phrasing_utt_proc_class_free",
			  "Failed to free SPhrasingUttProcClass");
}
Beispiel #4
0
S_LOCAL void _s_crfsuite_utt_proc_class_free(s_erc *error)
{
	S_CLR_ERR(error);
	s_class_free(S_OBJECTCLASS(&CrfSuiteUttProcClass), error);
	S_CHK_ERR(error, S_CONTERR,
		  "_s_crfsuite_utt_proc_class_free",
		  "Failed to free SCrfSuiteUttProcClass");
}
Beispiel #5
0
S_LOCAL void _s_utt_num_syls_class_free(s_erc *error)
{
	S_CLR_ERR(error);
	s_class_free(S_OBJECTCLASS(&UttNumSylsFeatProcClass), error);
	S_CHK_ERR(error, S_CONTERR,
			  "_s_utt_num_syls_class_free",
			  "Failed to free SUttNumSylsFeatProcClass");
}
Beispiel #6
0
S_LOCAL void _s_hts_labels_simple1_class_free(s_erc *error)
{
	S_CLR_ERR(error);
	s_class_free(S_OBJECTCLASS(&HTSLabelsSimple1FeatProcClass), error);
	S_CHK_ERR(error, S_CONTERR,
			  "_s_hts_labels_simple1_class_free",
			  "Failed to free SHTSLabelsSimple1FeatProcClass");
}
Beispiel #7
0
S_LOCAL void _s_hunpos_utt_proc_class_free(s_erc *error)
{
	S_CLR_ERR(error);
	s_class_free(S_OBJECTCLASS(&HunposUttProcClass), error);
	S_CHK_ERR(error, S_CONTERR,
		  "_s_hunpos_utt_proc_class_free",
		  "Failed to free SHunposUttProcClass");
}
S_LOCAL void _s_hts_engine_me_synth_utt_proc_105_class_free(s_erc *error)
{
	S_CLR_ERR(error);
	s_class_free(S_OBJECTCLASS(&HTSEngineMESynthUttProc105Class), error);
	S_CHK_ERR(error, S_CONTERR,
			  "_s_hts_engine_me_synth_utt_proc_class_free",
			  "Failed to free SHTSEngineMESynthUttProc105Class");
}
Beispiel #9
0
S_LOCAL void _s_your_class_free(s_erc *error)
{
	S_CLR_ERR(error);
	s_class_free(S_OBJECTCLASS(&YourClass), error);
	S_CHK_ERR(error, S_CONTERR,
			  "_s_your_class_free",
			  "Failed to free SYourClass");
}
S_LOCAL void _s_words_from_phrase_start_class_free(s_erc *error)
{
	S_CLR_ERR(error);
	s_class_free(S_OBJECTCLASS(&WordsFromPhraseStartFeatProcClass), error);
	S_CHK_ERR(error, S_CONTERR,
			  "_s_words_from_phrase_start_class_free",
			  "Failed to free SWordsFromPhraseStartFeatProcClass");
}
Beispiel #11
0
S_LOCAL void _s_cost_function_class_free(s_erc *error)
{
    S_CLR_ERR(error);
    s_class_free(S_OBJECTCLASS(&CostFunctionClass), error);
    S_CHK_ERR(error, S_CONTERR,
              "_s_cost_function_class_free",
              "Failed to free SCostFunctionClass");
}
Beispiel #12
0
S_LOCAL void _s_seg_ph_feat_class_free(s_erc *error)
{
	S_CLR_ERR(error);
	s_class_free(S_OBJECTCLASS(&SegPhonesetFeatureFeatProcClass), error);
	S_CHK_ERR(error, S_CONTERR,
			  "_s_seg_ph_feat_class_free",
			  "Failed to free SSegPhonesetFeatureFeatProcClass");
}
Beispiel #13
0
S_LOCAL void _s_syl_pos_phrase_rev_class_free(s_erc *error)
{
	S_CLR_ERR(error);
	s_class_free(S_OBJECTCLASS(&SylPosPhraseRevFeatProcClass), error);
	S_CHK_ERR(error, S_CONTERR,
			  "_s_syl_pos_phrase_rev_class_free",
			  "Failed to free SSylPosPhraseRevFeatProcClass");
}
Beispiel #14
0
S_LOCAL void _s_seg_pos_syl_class_free(s_erc *error)
{
	S_CLR_ERR(error);
	s_class_free(S_OBJECTCLASS(&SegPosSylFeatProcClass), error);
	S_CHK_ERR(error, S_CONTERR,
			  "_s_seg_pos_syl_class_free",
			  "Failed to free SSegPosSylFeatProcClass");
}
Beispiel #15
0
S_LOCAL void _s_syl_start_class_free(s_erc *error)
{
	S_CLR_ERR(error);
	s_class_free(S_OBJECTCLASS(&SylStartFeatProcClass), error);
	S_CHK_ERR(error, S_CONTERR,
			  "_s_syl_start_class_free",
			  "Failed to free SSylStartFeatProcClass");
}
Beispiel #16
0
S_LOCAL void _s_word_content_all_out_class_free(s_erc *error)
{
	S_CLR_ERR(error);
	s_class_free(S_OBJECTCLASS(&WordContentAllOutFeatProcClass), error);
	S_CHK_ERR(error, S_CONTERR,
			  "_s_word_content_all_out_class_free",
			  "Failed to free SWordContentAllOutFeatProcClass");
}
Beispiel #17
0
S_LOCAL void _s_shape_class_free(s_erc *error)
{
	S_CLR_ERR(error);
	s_class_free(S_OBJECTCLASS(&ShapeClass), error);
	S_CHK_ERR(error, S_CONTERR,
			  "_s_shape_class_free",
			  "Failed to free SShapeClass");
}
Beispiel #18
0
S_LOCAL void _s_vit_candidate_class_free(s_erc *error)
{
	S_CLR_ERR(error);
	s_class_free(S_OBJECTCLASS(&ViterbiCandidateClass), error);
	S_CHK_ERR(error, S_CONTERR,
			  "_s_vit_candidate_class_free",
			  "Failed to free SViterbiCandidateClass");
}
Beispiel #19
0
S_LOCAL void _s_phrase_type_class_free(s_erc *error)
{
	S_CLR_ERR(error);
	s_class_free(S_OBJECTCLASS(&PhraseTypeFeatProcClass), error);
	S_CHK_ERR(error, S_CONTERR,
			  "_s_phrase_type_class_free",
			  "Failed to free SPhraseTypeFeatProcClass");
}
Beispiel #20
0
S_LOCAL void _s_lexlookup_utt_proc_class_free(s_erc *error)
{
	S_CLR_ERR(error);
	s_class_free(S_OBJECTCLASS(&LexLookupUttProcClass), error);
	S_CHK_ERR(error, S_CONTERR,
			  "_s_lexlookup_utt_proc_class_free",
			  "Failed to free SLexLookupUttProcClass");
}
Beispiel #21
0
S_LOCAL void _s_words_to_next_punc_class_free(s_erc *error)
{
	S_CLR_ERR(error);
	s_class_free(S_OBJECTCLASS(&WordsToNextPuncFeatProcClass), error);
	S_CHK_ERR(error, S_CONTERR,
			  "_s_words_to_next_punc_class_free",
			  "Failed to free SWordsToNextPuncFeatProcClass");
}
Beispiel #22
0
S_LOCAL void _s_num_syls_class_free(s_erc *error)
{
	S_CLR_ERR(error);
	s_class_free(S_OBJECTCLASS(&NumSylsCostFuncClass), error);
	S_CHK_ERR(error, S_CONTERR,
			  "_s_num_syls_class_free",
			  "Failed to free SNumSylsCostFuncClass");
}
Beispiel #23
0
S_LOCAL void _s_syllabification_rewrites_rule_class_free(s_erc *error)
{
	S_CLR_ERR(error);
	s_class_free(S_OBJECTCLASS(&SyllabificationRewritesRuleClass), error);
	S_CHK_ERR(error, S_CONTERR,
			  "_s_syllabification_rewrites_rule_class_free",
			  "Failed to free SSyllabificationRewritesRuleClass");
}
Beispiel #24
0
S_LOCAL void _s_featprocessor_cb_class_free(s_erc *error)
{
	S_CLR_ERR(error);
	s_class_free(S_OBJECTCLASS(&FeatProcessorCBClass), error);
	S_CHK_ERR(error, S_CONTERR,
			  "_s_featprocessor_cb_class_free",
			  "Failed to free SFeatProcessorCBClass");
}
Beispiel #25
0
S_LOCAL void _s_word_num_phones_class_free(s_erc *error)
{
	S_CLR_ERR(error);
	s_class_free(S_OBJECTCLASS(&WordNumPhonesFeatProcClass), error);
	S_CHK_ERR(error, S_CONTERR,
			  "_s_word_num_phones_class_free",
			  "Failed to free SWordNumPhonesFeatProcClass");
}
Beispiel #26
0
/* local functions to register and free classes */
S_LOCAL void _s_serialized_htslabels_utt_reg(s_erc *error)
{
	S_CLR_ERR(error);
	s_class_reg(S_OBJECTCLASS(&UttHTSLabelsExportClass), error);
	if (S_CHK_ERR(error, S_CONTERR,
		      "_s_serialized_htslabels_utt_reg",
		      "Failed to register SUttHTSLabelsExportClass"))
		return;
	SSerializedFileRegister(&UttHTSLabelsExportClass, error);
	if (S_CHK_ERR(error, S_CONTERR,
		      "_s_serialized_htslabels_utt_reg",
		      "Failed to add serialized file class SUttHTSLabelsExportClass"))
	{
		s_erc local_err = S_SUCCESS;
		s_class_free(S_OBJECTCLASS(&UttHTSLabelsExportClass), &local_err);
		return;
	}
}
Beispiel #27
0
/* local functions to register and free classes */
S_LOCAL void _s_serialized_maryxml_utt_reg(s_erc *error)
{
	S_CLR_ERR(error);
	s_class_reg(S_OBJECTCLASS(&MaryXMLUttFileClass), error);
	if (S_CHK_ERR(error, S_CONTERR,
			  "_s_serialized_maryxml_utt_reg",
		          "Failed to register SMaryXMLUttFileClass"))
		return;
	SSerializedFileRegister(&MaryXMLUttFileClass, error);
	if (S_CHK_ERR(error, S_CONTERR,
			  "_s_serialized_maryxml_utt_reg",
		          "Failed to add serialized file class SMaryXMLFileClass"))
	{
		s_erc local_err = S_SUCCESS;
		s_class_free(S_OBJECTCLASS(&MaryXMLUttFileClass), &local_err);
		return;
	}
}
Beispiel #28
0
/* local functions to register and free classes */
S_LOCAL void _s_serialized_json_lexicon_reg(s_erc *error)
{
	S_CLR_ERR(error);
	s_class_reg(S_OBJECTCLASS(&JSONLexiconFileClass), error);
	if (S_CHK_ERR(error, S_CONTERR,
				  "_s_serialized_json_lexicon_reg",
				  "Failed to register SJSONLexiconFileClass"))
		return;

	SSerializedFileRegister(&JSONLexiconFileClass, error);
	if (S_CHK_ERR(error, S_CONTERR,
				  "_s_serialized_json_lexicon_reg",
				  "Failed to add serialized file class SJSONLexiconFileClass"))
	{
		s_erc local_err = S_SUCCESS;


		s_class_free(S_OBJECTCLASS(&JSONLexiconFileClass), &local_err);
		return;
	}
}
Beispiel #29
0
S_LOCAL void _s_serialized_maryxml_utt_free(s_erc *error)
{
	s_erc local_err;

	S_CLR_ERR(&local_err);
	S_CLR_ERR(error);

	SSerializedFileFree(&MaryXMLUttFileClass, &local_err);
	S_CHK_ERR(&local_err, S_CONTERR,
			  "_s_serialized_maryxml_utt_free",
			  "Failed to remove serialized file class SMaryXMLUttFileClass");

	s_class_free(S_OBJECTCLASS(&MaryXMLUttFileClass), error);
	S_CHK_ERR(error, S_CONTERR,
			  "_s_serialized_maryxml_utt_free",
			  "Failed to free SMaryXMLUttFileClass");

	if ((local_err != S_SUCCESS)
		&& (error != NULL)
		&& (*error == S_SUCCESS))
		*error = local_err;
}
Beispiel #30
0
S_LOCAL void _s_serialized_htslabels_utt_free(s_erc *error)
{
	s_erc local_err;

	S_CLR_ERR(&local_err);
	S_CLR_ERR(error);

	SSerializedFileFree(&UttHTSLabelsExportClass, &local_err);
	S_CHK_ERR(&local_err, S_CONTERR,
		  "_s_serialized_htslabels_utt_free",
		  "Failed to remove serialized file class SUttHTSLabelsExportClass");

	s_class_free(S_OBJECTCLASS(&UttHTSLabelsExportClass), error);
	S_CHK_ERR(error, S_CONTERR,
		  "_s_serialized_htslabels_utt_free",
		  "Failed to free SUttHTSLabelsExportClass");

	if ((local_err != S_SUCCESS)
	    && (error != NULL)
	    && (*error == S_SUCCESS))
		*error = local_err;
}