[mary-dev] Event notification system?

Marc Schroeder schroed at dfki.de
Mon Oct 12 09:41:23 CEST 2009


As you mention callback I suppose you do SAX rather than DOM parsing? 
For DOM, you could call
	MaryDomUtils.tokenText(t);

Regards,
Marc

Paulo Levi schrieb:
> Correction i know how to get the word in the mtu case, but in the t
> case its proving to be a pain because the xerxes callback of the jdk
> is catching \n and stuff inside the other tags (or maybe after the
> word itself?).
> Regardless i think i'm just going to trim() the string, but just so you know.

-- 
Dr. Marc Schröder, Senior Researcher at DFKI GmbH
Coordinator EU FP7 Project SEMAINE http://www.semaine-project.eu
Portal Editor http://emotion-research.net
Team Leader DFKI Speech Group http://mary.dfki.de

Homepage: http://www.dfki.de/~schroed
Email: schroed at dfki.de
Phone: +49-681-302-5303
Postal address: DFKI GmbH, Campus D3_2, Stuhlsatzenhausweg 3, D-66123 
Saarbrücken, Germany
--
Official DFKI coordinates:
Deutsches Forschungszentrum fuer Kuenstliche Intelligenz GmbH
Trippstadter Strasse 122, D-67663 Kaiserslautern, Germany
Geschaeftsfuehrung:
Prof. Dr. Dr. h.c. mult. Wolfgang Wahlster (Vorsitzender)
Dr. Walter Olthoff
Vorsitzender des Aufsichtsrats: Prof. Dr. h.c. Hans A. Aukes
Amtsgericht Kaiserslautern, HRB 2313


More information about the Mary-dev mailing list