alteryx / alteryx/nlp_primitives
Use a consistent return_type for Count* primitives
- Ngôn ngữ chính
- Python
- Star
- 37
- Fork
- 13
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
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
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Đánh giá
Issue này chưa được đánh giá.