You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@any23.apache.org by "Hans Brende (JIRA)" <ji...@apache.org> on 2018/04/13 16:55:00 UTC
[jira] [Resolved] (ANY23-334)
SingleDocumentExtraction.createExtractionContext() uses UUID as
defaultLanguage
[ https://issues.apache.org/jira/browse/ANY23-334?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Hans Brende resolved ANY23-334.
-------------------------------
Resolution: Fixed
Assignee: Hans Brende
> SingleDocumentExtraction.createExtractionContext() uses UUID as defaultLanguage
> -------------------------------------------------------------------------------
>
> Key: ANY23-334
> URL: https://issues.apache.org/jira/browse/ANY23-334
> Project: Apache Any23
> Issue Type: Bug
> Components: core
> Affects Versions: 2.2
> Reporter: Hans Brende
> Assignee: Hans Brende
> Priority: Major
> Fix For: 2.3
>
>
> {code}SingleDocumentExtraction.createExtractionContext() {code}
> returns an extraction context with defaultLanguage set to:
> {code}UUID.randomUUID().toString(){code}
> I'm assuming this was meant to be localID rather than defaultLanguage.
> Here are the links to the relevant lines of code:
> [SingleDocumentExtraction.createExtractionContext()|https://github.com/apache/any23/blob/1867cc66de9a82cd98f1962fdabbd3a8680ff408/core/src/main/java/org/apache/any23/extractor/SingleDocumentExtraction.java#L648]
> [ExtractionContext(String extractorName, IRI documentIRI, String defaultLanguage)|https://github.com/apache/any23/blob/1867cc66de9a82cd98f1962fdabbd3a8680ff408/api/src/main/java/org/apache/any23/extractor/ExtractionContext.java#L61]
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)