using ":" in feature safe?

Aperta
#74 0 commenti 1 reazione 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
2/5
Tempo stimato
1-3 ore
Idoneità per principianti
35/100
Tipo di issue
Documentazione
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
python
Ambito
documentation

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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?

Lingua principale
Python
Stelle
774
Fork
223
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di scrapinghub/python-crfsuite

Tutte le issue di scrapinghub/python-crfsuite

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.