From f2952e15376df5dc3250bec5197f8bb8b4d6f740 Mon Sep 17 00:00:00 2001 From: Luka Date: Fri, 22 Mar 2019 18:36:14 +0100 Subject: [PATCH] About fixes --- readme.md | 44 ++++++++++++++++++++++++ src/main/java/gui/AboutTab.java | 30 +++++++++------- src/main/java/gui/Messages.java | 2 +- src/main/resources/gui/AboutTab.fxml | 23 ++++++------- src/main/resources/message_en.properties | 9 +++-- src/main/resources/message_sl.properties | 9 +++-- 6 files changed, 87 insertions(+), 30 deletions(-) create mode 100644 readme.md diff --git a/readme.md b/readme.md new file mode 100644 index 0000000..ba1eb96 --- /dev/null +++ b/readme.md @@ -0,0 +1,44 @@ +(English version below) + +LIST, korpusni luščilnik +Različica: 1.0 (Zadnja posodobitev: 21. marec 2019) +Avtorji: Luka Krsnik, Špela Arhar Holdt, Jaka Čibej, Kaja Dobrovoljc, Aleksander Ključevšek, Simon Krek, Marko Robnik Šikonja + +Korpusni luščilnik LIST je program za luščenje spiskov iz besedilnih korpusov na nivojih znakov, besednih delov, besed in besednih nizov. Nastal je v okviru projekta Nova slovnica sodobne standardne slovenščine: viri in metode (J6-8256), ki ga je med letoma 2017 in 2020 sofinancirala Javna agencija za raziskovalno dejavnost Republike Slovenije iz državnega proračuna. Raziskovalni program Jezikovni viri in tehnologije za slovenski jezik (št. P6-0411) je sofinancirala Javna agencija za raziskovalno dejavnost Republike Slovenije iz državnega proračuna. + +Izdajatelj: Center za jezikovne vire in tehnologije Univerze v Ljubljani, +Institut "Jožef Stefan", +Fakulteta za računalništvo in informatiko Univerze v Ljubljani + +Vzdrževanje programa: Center za jezikovne vire in tehnologije Univerze v Ljubljani +Program je dostopen pod licenco MIT License na repozitorijih CLARIN.SI (http://hdl.handle.net/11356/1227) in GitHub (https://gitea.cjvt.si/lkrsnik/list). + +NAVODILA ZA NAMESTITEV IN ZAGON: + +1) Pred uporabo programske opreme mora biti na računalniku nameščena 64-bitna java (https://java.com/en/download/manual.jsp). +2) Vse tri programske datoteke (run.sh, run.bat, list1.0.jar) skopiramo v poljubno mapo. +3) Program zaženemo z dvoklikom na datoteko run.bat na operacijskem sistemu Windows ali run.sh na operacijskem sistemu Linux. +4) Ko izbiramo lokacijo korpusa, moramo poskrbeti, da v mapi ni datotek več različnih korpusov. + + +--------- + +LIST – Corpus Extraction Tool +Version: 1.0 (Last update: 21 March 2019) +Authors: Luka Krsnik, Špela Arhar Holdt, Jaka Čibej, Kaja Dobrovoljc, Aleksander Ključevšek, Simon Krek, Marko Robnik Šikonja + +The LIST corpus extraction tool is a program for extracting lists from text corpora on the levels of characters, word parts, words, and word sets. The program was developed within the New Grammar of Modern Standard Slovene: Resource and Methods project (J6-8256), which was financially supported by the Slovenian Research Agency between 2017 and 2020. The authors acknowledge the financial support from the Slovenian Research Agency (research core funding No. P6-0411 Language Resources and Technologies for Slovene). + +Publisher: Centre for Language Resources and Technologies, University of Ljubljana, +Jožef Stefan Institute, +Faculty of Computer and Information Science, University of Ljubljana + +Maintenance: Centre for Language Resources and Technologies, University of Ljubljana +The program is available under the MIT License at CLARIN.SI (http://hdl.handle.net/11356/1227) and GitHub (https://gitea.cjvt.si/lkrsnik/list). + +INSTRUCTIONS FOR INSTALLATION AND USE: + +1) Make sure that 64-bit java is installed on your computer (https://java.com/en/download/manual.jsp). +2) Copy all three program files (run.sh, run.bat, list1.0.jar) in a single folder. +3) Run the program by double-clicking the run.bat file on a Windows operating system or run.sh on Linux. +4) When selecting the location of the corpus, make sure the folder does not include files of multiple different corpora. diff --git a/src/main/java/gui/AboutTab.java b/src/main/java/gui/AboutTab.java index 0a05c0f..0c9c36f 100755 --- a/src/main/java/gui/AboutTab.java +++ b/src/main/java/gui/AboutTab.java @@ -45,19 +45,25 @@ public class AboutTab { public Pane paneEng; @FXML - public Label aboutL; + public Label headerL; @FXML - private Hyperlink cjvtSH; + public Label descriptionL; @FXML - private Hyperlink githubSH; + public Label signatureL; @FXML - private Hyperlink cjvtEH; + public Label footerL; @FXML - private Hyperlink githubEH; + public Label linksL; + + @FXML + private Hyperlink cjvtH; + + @FXML + private Hyperlink githubH; @FXML private Button changeLanguageB; @@ -87,18 +93,18 @@ public class AboutTab { logger.info("change language"); }); - cjvtSH.setOnAction(e -> openCjvtWebsite()); - - githubSH.setOnAction(e -> openGithubWebsite()); - - cjvtEH.setOnAction(e -> openCjvtWebsite()); + cjvtH.setOnAction(e -> openCjvtWebsite()); - githubEH.setOnAction(e -> openGithubWebsite()); + githubH.setOnAction(e -> openGithubWebsite()); } private void manageTranslations(){ changeLanguageB.textProperty().bind(I18N.createStringBinding("button.language")); - aboutL.textProperty().bind(I18N.createStringBinding("about.text")); + headerL.textProperty().bind(I18N.createStringBinding("about.header")); + descriptionL.textProperty().bind(I18N.createStringBinding("about.description")); + signatureL.textProperty().bind(I18N.createStringBinding("about.signature")); + footerL.textProperty().bind(I18N.createStringBinding("about.footer")); + linksL.textProperty().bind(I18N.createStringBinding("about.links")); // calculateForL.textProperty().bind(I18N.createStringBinding("label.calculateFor")); // displayTaxonomyL.textProperty().bind(I18N.createStringBinding("label.displayTaxonomy")); // diff --git a/src/main/java/gui/Messages.java b/src/main/java/gui/Messages.java index c75a949..dd1de00 100755 --- a/src/main/java/gui/Messages.java +++ b/src/main/java/gui/Messages.java @@ -45,7 +45,7 @@ public class Messages { // Not properly to be here. TODO move somewhere else in future public static String HELP_URL = "http://slovnica.ijs.si/"; public static String CJVT_URL = "http://hdl.handle.net/11356/1227"; - public static String GITHUB_URL = "https://gitea.cjvt.si/lkrsnik/korpeks"; + public static String GITHUB_URL = "https://gitea.cjvt.si/lkrsnik/list"; // helper maps /** diff --git a/src/main/resources/gui/AboutTab.fxml b/src/main/resources/gui/AboutTab.fxml index bdef736..59e36f5 100755 --- a/src/main/resources/gui/AboutTab.fxml +++ b/src/main/resources/gui/AboutTab.fxml @@ -11,7 +11,11 @@ -