Giter VIP home page Giter VIP logo

common-voice-tool's Introduction

👋 Hi

I'm Damiano, many of you will know me as dag7 since it is my public nickname or simply dag.

Devops and developer, I'm passionate on many other things, like casual shooting photos, writing about my experiences, watching movies, and playing board games and videogames, even if I don’t often have the time to do all of these things in the measure I would.

📖 About Me

Drop him an email Donate

common-voice-tool's People

Contributors

dag7dev avatar jotaro-sama avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

common-voice-tool's Issues

NON Aggiungere il punto se la frase termina per ....

NON bisogna aggiungere il punto se la frase termina con:

  • " " spazio
  • " " doppio spazio
  • "!"/"?" punto esclamativo/interrogativo (NON HO VERIFICATO SE LO METTA O NO IN QUESTA CONDIZIONE)
  • ";" punto e virgola (NON HO VERIFICATO SE LO METTA O NO IN QUESTA CONDIZIONE)

Localization

@jotaro-sama ha chiesto di localizzare in Italiano, vogliamo fare una cosa figa con gettext o ci accontentiamo di un accrocco fatto a mano?

Range doesn't work correctly

Non funziona il RANGE.
Il conteggio dei caratteri superiori funziona bene e restituisce anche correttamente la stringa "Caratteri superiori a quelli consentiti", ma se è troppo corta non restituisce la stringa corretta: restituisce, infatti, la stessa stringa del superamento della soglia max :) correggere

Esito su test "approfondito"

Ho effettuato parecchi test e ho trovato alcune cose da migliorare. Ma, in generale, il programma riesce a gestire quasi tutto :)
|| Esito OK significa che è stato gestito correttamente || Esito NO significa che non è stato gestito ||
VERSIONE TOOL: UNKNOWN BETA

  • Scelta lingua:
    • Inserito un valore differente da quello indicato: Esito OK -> Restituisce messaggio "File not found! Exiting..." -> Io mostrerei un messaggio di tipo "Language file not found! Exiting..." specificando che è il file di lingua a non essere stato trovato :)
  • range (o chkLen):
    • Inserito valore stringa alfanumerico: Esito OK
    • Inserito valore decimale: Esito NO -> causa errore successivo nel controllo poiché si aspetta un valore numerico intero (Errore restituito nel controllo successivo "Attesa espressione intera")
  • Scelta file:
    • Inserito file insesistente: Esito OK
  • trim: Esito NO -> NON toglie gli spazi a fine riga e, inoltre, toglie tutti i primi spazio.
    Esempio:
    (Originale)

"Prova esempio frase numero uno ciao ciao ciao ciao  "
(Risultato)
"Provaesempio frase numero uno ciao ciao ciao nbsp;"

  • ac: Esito OK -> Suggerimento: Quando viene mostrato "Aggiungo..." aggiungere anche un [OK] se viene aggiunto correttamente, ottenendo, in questo modo: "Aggiungo... [OK]"
  • no-empy: Esito NO -> STESSO PROBLEMA DI TRIM -> NON CANCELLA LE RIGHE VUOTE E RIMUOVE I PRIMI SPAZI
    • Suggerimento: RINOMINARE LA FUNZIONE IN "noEmpty" -> bisogna seguire una regola di stile. O adotti a tutti il "-" oppure metti le maiuscole. Fare un minestrone confonde parecchio.
  • capitalize: Esito OK
    • Ho provato anche a mettere differenti caratteri per verificare che trasformasse in maiuscolo ogni cosa e funziona correttamente. Anche le lettere accentate funzionano bene.
  • chkPoint: Esito OK

Inoltre aggiungere il numero di versione, e non solo il tipo :)

Rimozione doppi spazi

Attenzione! Possono esserci anche più doppi spazi, anche dopo averne sostituiti.
Esempio:

Ciao    Ciao

(Ha 4 doppi spazi)
Se tu fai un replaceAll da "  " a " " otterresti

Ciao  Ciao

Ma c'è ancora un doppio spazio!
Quindi deve ripetere l'operazione finché la ricerca di dopi spazi risulta pari a 0 risultati

Aggiornare visualizzazione funzioni

visualizza ancora "no-empty" piuttosto che "noEmpty"

**update:
Non solo viene visualizzato male, ma se si inserisce "-noEmpty" restituisce l'errore di funzione inesistente.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.