the-algorithm icon indicating copy to clipboard operation
the-algorithm copied to clipboard

🔥🔥 FIXED TODO Replace score field with FeatureMap in TweetAnnotationQueryCandidate 🔥🔥

Open altruong opened this issue 2 years ago • 1 comments

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

altruong avatar Apr 01 '23 10:04 altruong

CLA assistant check
All committers have signed the CLA.

CLAassistant avatar Apr 01 '23 11:04 CLAassistant