Logic for inferring the special types of Text fields based on their TextFingerprints. These tests only run against Fields that don't have existing special types.
Logic for inferring the special types of *Text* fields based on their TextFingerprints. These tests only run against Fields that *don't* have existing special types.
(infer-special-type field fingerprint)
Inputs: [field :- i/FieldInstance fingerprint :- (s/maybe i/Fingerprint)] Returns: (s/maybe i/FieldInstance)
Do classification for :type/Text
Fields with a valid TextFingerprint
.
Currently this only checks the various recorded percentages, but this is subject to change in the future.
Inputs: [field :- i/FieldInstance fingerprint :- (s/maybe i/Fingerprint)] Returns: (s/maybe i/FieldInstance) Do classification for `:type/Text` Fields with a valid `TextFingerprint`. Currently this only checks the various recorded percentages, but this is subject to change in the future.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close