That's odd, it worked for me on that text. I'm using the latest default
chain + zemanta and seo_refactoring:
tika
langid
ner
zemanta
dbpediaLinking
entityhubExtraction
seo_refactoring
Anyway thanks for the ticket! Rupert's new TcProvider should help too.
Alessandro
On 3/19/12 4:49 PM, David Riccitelli wrote:
mmm... nope doesn't seem to release the resources. I'm testing with
the attached text.
On Mon, Mar 19, 2012 at 2:06 PM, Alessandro Adamou <[email protected]
<mailto:[email protected]>> wrote:
Hi David,
I shall add that, when an exception is raised, the Refactor is not
releasing the resources as per latest implementations, causing
the race
conditions to happen again.
To that I think I can help. I just committed another update that
releases the OntoNet session in a finally {} block, so even if the
engine fails. Sorry for not thinking about it earlier.
It should also be quite faster and occupy a lot less disk space
during the process (all entity signatures fetched from the
EntityHub or elsewhere are now merged together in a single graph).
It should also be delivering the same results (did for me at
least), would you mind checking it against your content?
17.03.2012 08:06:11.468 *ERROR* [Thread-26]
org.apache.stanbol.enhancer.jobmanager.event.impl.EnhancementJobHandler
Unexpected Exception while processing ContentItem
<urn:content-item-sha1-c68a862d0fcb750f1477ad074b831925f40bf464>
with
EnhancementJobManager: class
org.apache.stanbol.enhancer.jobmanager.event.impl.EventJobManagerImpl
*
com.hp.hpl.jena.shared.BadURIException*: Only well-formed
absolute
URIrefs can be included in RDF/XML
output:<http://www.dhsm.org,> Code:
28/NOT_DNS_NAME in HOST: The host component did not meet the
restrictions
on DNS names.
It looks as if an URI list/array is not being parsed correctly
somewhere. What text did you use to get that odd URI ending with a
comma? I guess it is not the same you posted earlier.
Best,
Alessandro
--
M.Sc. Alessandro Adamou
Alma Mater Studiorum - Università di Bologna
Department of Computer Science
Mura Anteo Zamboni 7, 40127 Bologna - Italy
Semantic Technology Laboratory (STLab)
Institute for Cognitive Science and Technology (ISTC)
National Research Council (CNR)
Via Nomentana 56, 00161 Rome - Italy
"I will give you everything, so long as you do not demand anything."
(Ettore Petrolini, 1930)
Not sent from my iSnobTechDevice
--
David Riccitelli
********************************************************************************
InsideOut10 s.r.l.
P.IVA: IT-11381771002
Fax: +39 0110708239
---
LinkedIn: http://it.linkedin.com/in/riccitelli
Twitter: ziodave
---
Layar Partner Network
<http://www.layar.com/publishing/developers/list/?page=1&country=&city=&keyword=insideout10&lpn=1>
********************************************************************************
--
M.Sc. Alessandro Adamou
Alma Mater Studiorum - Università di Bologna
Department of Computer Science
Mura Anteo Zamboni 7, 40127 Bologna - Italy
Semantic Technology Laboratory (STLab)
Institute for Cognitive Science and Technology (ISTC)
National Research Council (CNR)
Via Nomentana 56, 00161 Rome - Italy
"I will give you everything, so long as you do not demand anything."
(Ettore Petrolini, 1930)
Not sent from my iSnobTechDevice