diff --git a/WinBuild/bananaSPLIT.exe b/WinBuild/bananaSPLIT.exe new file mode 100644 index 0000000..363616c Binary files /dev/null and b/WinBuild/bananaSPLIT.exe differ diff --git a/WinBuild/conf/defaults.json b/WinBuild/conf/defaults.json new file mode 100644 index 0000000..766f158 --- /dev/null +++ b/WinBuild/conf/defaults.json @@ -0,0 +1,67 @@ +{ + "version": "v1.2", + "paths": { + "lastUsed": "defaults.json", + "configurationPath": "./conf/", + "INworkPath": "C:/", + "OUTworkPath": "C:/", + "fileList": [ + "bdlog.txt" + ] + }, + "docStruct": { + "fileVersNew": true, + "language": "English", + "languageIdx": 1, + "docSep": "\\s*Copyright [(0-9)]+", + "beginOfDocument": "\\s*Body", + "endOfDocument": "\\s*End of Document", + "dateFormat": "{month} {day:d}, {year:d}{}", + "outPrefix": "", + "outSuffix": "", + "outExt": ".txt", + "outDateType": "jpn", + "outNameFormat": "", + "outDate": true, + "outTitle": true, + "outNumber": true, + "numberPos": 1, + "datePos": 2, + "titlePos": 3, + "maxTitleLen": 16, + "outNameSep": "-", + "customSep": "=", + "dateFormats": { + "jpn": "{year:04d}{month:02d}{day:02d}", + "it": "{day:02d}{month:02d}{year:04d}", + "usa": "{month:02d}{year:04d}{day:02d}" + } + }, + "settings": { + "encoding": "ansi", + "monthPosition": 0, + "getNewsPaperName": true, + "nameNotFoundStr": "ND", + "includeTitle": true, + "removeDuplicates": true, + "showSkipped": false, + "showRemovedDuplicates": false, + "loadTXT": true, + "loadDOCX": false, + "removeOldFiles": true, + "saveSeparateFiles": true, + "saveBodyFile": true, + "saveBodyNumber": true, + "delLF": false, + "delWordBreak": true, + "delChars": [ + "'", + "@", + "#", + "$", + "%", + "^", + "&" + ] + } +} \ No newline at end of file diff --git a/WinBuild/conf/languageconf.json b/WinBuild/conf/languageconf.json new file mode 100644 index 0000000..5b1457d --- /dev/null +++ b/WinBuild/conf/languageconf.json @@ -0,0 +1,76 @@ +{ + "Italiano": { + "dateWords": [ + "Gennaio", + "Febbraio", + "Marzo", + "Aprile", + "Maggio", + "Giugno", + "Luglio", + "Agosto", + "Settembre", + "Ottobre", + "Novembre", + "Dicembre" + ], + "headWords": [ + "BYLINE:", + "SECTION:", + "LENGTH:", + "DATELINE:", + "HIGHLIGHT:", + "Email:" + ], + "tailWords": [ + "Newstex ID:", + "NOTES:", + "LANGUAGE:", + "GRAPHIC:", + "TYPE:", + "URL:", + "LOAD-DATE:", + "PUBLICATION-TYPE:", + "DOCUMENT-TYPE:", + "CHARTS:", + "JOURNAL-CODE:" + ] + }, + "English": { + "dateWords": [ + "January", + "February", + "March", + "April", + "May", + "June", + "July", + "August", + "September", + "October", + "November", + "December" + ], + "headWords": [ + "BYLINE:", + "SECTION:", + "LENGTH:", + "DATELINE:", + "HIGHLIGHT:", + "Email:" + ], + "tailWords": [ + "Newstex ID:", + "NOTES:", + "LANGUAGE:", + "GRAPHIC:", + "TYPE:", + "URL:", + "LOAD-DATE:", + "PUBLICATION-TYPE:", + "DOCUMENT-TYPE:", + "CHARTS:", + "JOURNAL-CODE:" + ] + } +} diff --git a/WinBuild/conf/loggerconf.json b/WinBuild/conf/loggerconf.json new file mode 100644 index 0000000..51b10ab --- /dev/null +++ b/WinBuild/conf/loggerconf.json @@ -0,0 +1,5 @@ +{ + "logFile": "D:\\Test\\bananaSPLIT.log", + "logFormat": "%(asctime)s|%(levelname)-8s| %(message)-50s", + "logTimeFormat": "%m-%d %H:%M:%S" +} diff --git a/WinBuild/conf/spiripacchio.json b/WinBuild/conf/spiripacchio.json new file mode 100644 index 0000000..b88fe7b --- /dev/null +++ b/WinBuild/conf/spiripacchio.json @@ -0,0 +1,68 @@ +{ + "version": "v1.2", + "paths": { + "lastUsed": "spiripacchio.json", + "configurationPath": "./conf/", + "INworkPath": "D:/Emanuele/Documenti/workspace/bananaSPLIT/TestFiles/FileBastardi", + "OUTworkPath": "H:/", + "fileList": [ + "Files(100)(1).txt", + "Files(100)(2).txt" + ] + }, + "docStruct": { + "fileVersNew": true, + "language": "English", + "languageIdx": 1, + "docSep": "\\s*Copyright [(0-9)]+", + "beginOfDocument": "\\s*Body", + "endOfDocument": "\\s*End of Document", + "dateFormat": "{month} {day:d}, {year:d}{}", + "outPrefix": "", + "outSuffix": "", + "outExt": ".txt", + "outDateType": "jpn", + "outNameFormat": "", + "outDate": true, + "outTitle": true, + "outNumber": true, + "numberPos": 1, + "datePos": 2, + "titlePos": 3, + "maxTitleLen": 16, + "outNameSep": "-", + "customSep": "=", + "dateFormats": { + "jpn": "{year:04d}{month:02d}{day:02d}", + "it": "{day:02d}{month:02d}{year:04d}", + "usa": "{month:02d}{year:04d}{day:02d}" + } + }, + "settings": { + "encoding": "ansi", + "monthPosition": 0, + "getNewsPaperName": true, + "nameNotFoundStr": "ND", + "includeTitle": true, + "removeDuplicates": true, + "showSkipped": false, + "showRemovedDuplicates": false, + "loadTXT": true, + "loadDOCX": false, + "removeOldFiles": true, + "saveSeparateFiles": true, + "saveBodyFile": true, + "saveBodyNumber": true, + "delLF": false, + "delWordBreak": true, + "delChars": [ + "'", + "@", + "#", + "$", + "%", + "^", + "&" + ] + } +} \ No newline at end of file