the-algorithm
the-algorithm copied to clipboard
🔥🔥 FIXED TODO Replace score field with FeatureMap in TweetAnnotationQueryCandidate 🔥🔥
TODO Remove score from the candidate and use a Feature instead
- Remove the score field from the TweetAnnotationQueryCandidate class
- Add a features field of type FeatureMap to the TweetAnnotationQueryCandidate class
- Update the apply method in the companion object of TweetAnnotationQueryCandidate to accept a FeatureMap
- Update the equals and hashCode methods in the TweetAnnotationQueryCandidate class to exclude the score field and include the features field
- Update any relevant tests or usage of TweetAnnotationQueryCandidate to include the new FeatureMap instead of the score