def extract(self, token: str, current_idx: int, relative_idx: int, tokens: Sequence[str], features: Dict[(str, float)]) -> None:
    features[('tok[%d]=%s' % (relative_idx, token))] = 1.0
def extract(self, token: str, current_idx: int, relative_idx: int, tokens: Sequence[str], features: Dict[(str, float)]) -> None:
    features[('tok[%d]=%s' % (relative_idx, token))] = 1.0