maybe it is easier/faster if we don't check `entry` or `int` here, but create different functions so the caller can decide which to call. _Originally posted by @hunterhector in https://github.com/asyml/forte/pull/900#discussion_r959726307_
Originally posted by @hunterhector in #900 (comment)