You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In some counting primitives we are using a Double return type (like PartOfSpeechCount) while in others IntegerNullable is used as the return type (like NumUniqueSeparators).
Given that all of the counting primitives should be returning a whole number (or optionally null), IntegerNullable seems like a more appropriate return type to use than Double. We should investigate if there is a reason for using Double in some primitives, and, if possible, convert these to use an IntegerNullable return type.
Primitives to study:
MedianWordLength
PartOfSpeechCount
PunctuationCount
TitleWordCount
TotalWordLength
UpperCaseCount
The text was updated successfully, but these errors were encountered:
In some counting primitives we are using a
Double
return type (likePartOfSpeechCount
) while in othersIntegerNullable
is used as the return type (likeNumUniqueSeparators
).Given that all of the counting primitives should be returning a whole number (or optionally null),
IntegerNullable
seems like a more appropriate return type to use thanDouble
. We should investigate if there is a reason for usingDouble
in some primitives, and, if possible, convert these to use anIntegerNullable
return type.Primitives to study:
The text was updated successfully, but these errors were encountered: