allenai / allenai/nlpstack

In PostaggedToken, represent POS using a class

Abierto
#75 1 comentario 0 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
Scala
Estrellas
43
Forks
8
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

POS at present is represented as a symbol. This limits code reuse. I would like to add POS information to my own objects without using `PostaggedToken`. But by doing so I lose functions such as `isNoun`. If POS were represented as instances of a class I would get much greater flexibility. Another alternative would be to have the POS methods in a helper object, but that would not bring the type safety of an explicit POS type.

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.