Add support for word embedding like features which are list of floats
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Aptitud para principiantes
- 38/100
Línea de trabajo
Start by tracing how the API converts feature dictionaries into CRFSuite ItemSequence items. Add a wrapper that accepts lists of floats and converts them to consistently named features such as "f:0" and "f:1". Done means users can pass the proposed wrapper as a dictionary value and the resulting representation works with CRFSuite; the issue does not name specific files or tests.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
The current API doesn't support adding features which are list of floats e.g. Word Embeddings. The current approach to add these features is to do something like {"f0": 1.5, "f1": 1.6, "f2": -1.4} for 3 dimensional embedding features, which adds extra burden on the user's part.
I propose a wrapper feature which will allow users to pass the word embedding list as the value of the dictionary. E.g. {"f": FloatFeatures([1.5, 1.6, -1.4])}, internally this will convert the float features into a representation consistent with the CRFSuite ItemSequence and having a consistent naming convention like "f:0", "f:1", "f:2".
- Lenguaje dominante
- Python
- Estrellas
- 774
- Forks
- 223
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Preparar el entorno
Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de scrapinghub/python-crfsuite
-
no wheels for python 3.14Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 63/100
scrapinghub/python-crfsuite#167 · 2 comentarios · 2 reacciones ·
-
CRFsuite training too slowAbierto
Dificultad 4/5 3-5 días Aptitud para principiantes 25/100
scrapinghub/python-crfsuite#142 ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 25/100
scrapinghub/python-crfsuite#129 · 1 comentario · 2 reacciones ·
-
Dificultad 4/5 3-5 días Aptitud para principiantes 35/100
scrapinghub/python-crfsuite#119 · 1 comentario · 1 reacción ·
-
Dificultad 5/5 Más de una semana Aptitud para principiantes 25/100
scrapinghub/python-crfsuite#114 ·
Todos los issues de scrapinghub/python-crfsuite
Issues similares
-
needs-triage
Dificultad 2/5 1-3 horas Aptitud para principiantes 86/100
MakazhanAlpamys/Soup#3589 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 88/100
ClickHouse/clickhouse-connect#1266 ·
Los mantenedores suelen responder en 1 día
-
AutoGrowth: new time column nameAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
biosustain/growthcurves_app#89 ·
Los mantenedores suelen responder en 1 día
-
`LogProxyConsumer._on_relation_departed` raises `APIError` when the promtail service does not existAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
canonical/loki-k8s-operator#695 ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
Los mantenedores suelen responder en 1 día