[
https://issues.apache.org/jira/browse/OPENNLP-1167?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Tommaso Teofili resolved OPENNLP-1167.
--------------------------------------
Resolution: Fixed
Fix Version/s: 1.8.4
> WordVector toArray methods should be removed
> --------------------------------------------
>
> Key: OPENNLP-1167
> URL: https://issues.apache.org/jira/browse/OPENNLP-1167
> Project: OpenNLP
> Issue Type: Task
> Components: word vectors
> Reporter: Tommaso Teofili
> Assignee: Tommaso Teofili
> Fix For: 1.8.4
>
>
> {{WordVector#toDoubleArray}} and {{WordVector#toFloatArray}} always require a
> copy, have size limitation and therefore should be probably removed.
> Additionally we should think whether it makes sense to keep
> {{FloatArrayVector#toDoubleBuffer}} and {{DoubleArrayVector#toFloatBuffer}}
> which also require a copy. The alternative is to throw an
> {{UnsupportedOperationException}} in such cases.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)