using ":" in feature safe?

Abierto
#74 0 comentarios 1 reacción 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
2/5
Tiempo estimado
1-3 horas
Aptitud para principiantes
35/100
Tipo de issue
Documentación
Claridad
Bastante claro
Estado de actividad
Estancado
Stack tecnológico
python

Línea de trabajo

Read the CSRFSuite documentation describing : as a feature weight delimiter and inspect the example mentioned in the issue. Check how feature strings containing : are parsed and whether escaping is supported; done means the documentation clearly explains whether : is safe within a feature and how to represent it.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

I was reading the csrfsuite docs how the ":" is used to define weight on features and that it should be escaped in the feature otherwise. I was looking through the code and I can't see where the ":" is being escaped (or "") if it's within the feature. I noticed the example is using ":" within the feature and I assume that's working so is it safe to use a ":" within a feature without escaping it? What am I missing?

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

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de scrapinghub/python-crfsuite

Todos los issues de scrapinghub/python-crfsuite

Issues similares

Más issues de Python

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.