Ejemplo n.º 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");
}
Ejemplo n.º 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");
}
Ejemplo n.º 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");
}
Ejemplo n.º 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");
}
Ejemplo n.º 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");
}
Ejemplo n.º 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");
}
Ejemplo n.º 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");
}
Ejemplo n.º 8
0
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");
}
Ejemplo n.º 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");
}
Ejemplo n.º 10
0
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");
}
Ejemplo n.º 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");
}
Ejemplo n.º 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");
}
Ejemplo n.º 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");
}
Ejemplo n.º 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");
}
Ejemplo n.º 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");
}
Ejemplo n.º 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");
}
Ejemplo n.º 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");
}
Ejemplo n.º 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");
}
Ejemplo n.º 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");
}
Ejemplo n.º 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");
}
Ejemplo n.º 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");
}
Ejemplo n.º 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");
}
Ejemplo n.º 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");
}
Ejemplo n.º 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");
}
Ejemplo n.º 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");
}
Ejemplo n.º 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;
	}
}
Ejemplo n.º 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;
	}
}
Ejemplo n.º 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;
	}
}
Ejemplo n.º 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;
}
Ejemplo n.º 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;
}