You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@nlpcraft.apache.org by "Sergey Kamov (Jira)" <ji...@apache.org> on 2021/04/16 07:30:00 UTC
[jira] [Commented] (NLPCRAFT-294) Token property
"nlpcraft:nlp:sparsity" has invalid (int) type. Must be 'boolean'.
[ https://issues.apache.org/jira/browse/NLPCRAFT-294?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17322685#comment-17322685 ]
Sergey Kamov commented on NLPCRAFT-294:
---------------------------------------
We have 3 properties:
- nlpcraft:nlp:direct: Boolean (ok, but we have 2 names for same thing: 'direct' - element property, 'permuted' - configuration property)
- nlpcraft:nlp:sparsity: Int - (best 0, level of sparsity, I guess int is suitable data type for it)
- nlpcraft:nlp:contiguous: Boolean - it just calculated as 'sparsity == 0'. Seems a little bit surplus, but ok
(Note - Why we don't have `contiguous` shortcut in org.apache.nlpcraft.model.impl.NCTokenPimp)
I have (beside question about NCTokenPimp content) these parameters are fine.
{color:#067d17} {color}
> Token property "nlpcraft:nlp:sparsity" has invalid (int) type. Must be 'boolean'.
> ---------------------------------------------------------------------------------
>
> Key: NLPCRAFT-294
> URL: https://issues.apache.org/jira/browse/NLPCRAFT-294
> Project: NLPCraft
> Issue Type: Bug
> Components: model
> Affects Versions: 0.7.4
> Reporter: Aaron Radzinski
> Assignee: Sergey Kamov
> Priority: Major
> Fix For: 0.7.5
>
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)