Documentation ¶
Index ¶
- func ArchiviaParoleSuFile(path, codicetommy string, parole []string) error
- func Codice(text string) (string, error)
- func Docx2Text(docx string) (string, error)
- func ElencaDocArchiviati(gobfile string) ([]string, error)
- func EncodeImageToBase64(imagefile string) (string, error)
- func GetIdentificativoPDF(text string) (string, error)
- func GetPeriodi(testo string) []string
- func GetTitoloDocx(text string) (string, error)
- func GetTitoloPDF(text string) (string, error)
- func Importanti(testo string) map[string]float64
- func ParoleComuni(path1, path2 string)
- func Pdf2text(path string) (string, error)
- func PrintParoleArchiviate(codicetommy, gobfile string) ([]string, error)
- func Ripulisciparola(s string) string
- func Sigle(text string) []string
- type Attività
- type Processo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ArchiviaParoleSuFile ¶
ArchiviaParoleSuFile salva su un unico file .gob tutte le parole dei documenti in una mappa.
func ElencaDocArchiviati ¶
ElencaDocArchiviati restituisce la lista dei codici dei documenti le cui parole sono archiavate.
func EncodeImageToBase64 ¶
EncodeImageToBase64 trasfmorma una immagine nella sua versione base64.
func GetIdentificativoPDF ¶
GetIdentificativoPDF recupera l'identificativo univoco dei documenti Tommy.
func GetTitoloDocx ¶
GetTitoloDocx recupera il titolo di un documento tommy.
func GetTitoloPDF ¶
GetTitoloPDF recupera il titolo di un documento tommy.
func Importanti ¶
Importanti restituisce le frasi utilizzate più volte nel testo.
func ParoleComuni ¶
func ParoleComuni(path1, path2 string)
ParoleComuni trova le parole comuni nei documenti PDF che non sono utili ai fini delle verifiche lessicografiche.
func PrintParoleArchiviate ¶
PrintParoleArchiviate recupera le parole archiviate e le stampa a video.
func Ripulisciparola ¶
Ripulisciparola elimina l'ultima runa di una parola se non è alfanumerica.