From 59f10b69b5d2f6bca0aeb81f8b21ec0beb7dddc7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Filip=20Grali=C5=84ski?= Date: Thu, 5 Dec 2019 12:49:55 +0100 Subject: [PATCH] Translate into English --- TaskB03/description.txt | 50 ++++++++++++++++++++--------------------- TaskB04/description.txt | 6 +---- TaskB05/description.txt | 2 +- 3 files changed, 27 insertions(+), 31 deletions(-) diff --git a/TaskB03/description.txt b/TaskB03/description.txt index 716c879..adf446c 100644 --- a/TaskB03/description.txt +++ b/TaskB03/description.txt @@ -1,16 +1,15 @@ -Słownik -======= +Dictionary +========== -Program powinien wczytać automat skończeniestanowy (bez wag) ze -standardowego wejścia. Zakładamy, że automat jest deterministyczny i -nie zawiera cykli. +Your program should read a finite-state automaton from standard input. +The automaton is deterministic, you can assume it does not contain +cycles. -Każda ścieżka automatu etykietowana jest ciągiem symboli o -następującej strukturze: +Each automaton path is labeled with a symbol sequence of the following form: -; +; -np. +e.g.: biały;ADJ dom;N @@ -20,37 +19,38 @@ stali;N stali;V stali;ADJ -Następnie należy wczytać słowa z kolejnych wierszy pliku podanego jako -argument. Dla każdego słowa należy wypisać wszystkie ścieżki automatu, -które rozpoczynają się tym słowem, a następnym symbolem jest ';' -(średnik), czyli np. dla słowa wejściowego 'dom' szukamy ścieżek o -prefiksie 'dom;'. Jeśli nie ma żadnej takiej ścieżki, to należy -wyprowadzić napis: +Next you should read words from the file whose name is given as the +first argument (`*.arg` file). For each word, you should all automaton +paths that begin a given word, the following symbol is ';' +(semicolon), e.g. for the word 'dom' we are looking for paths +beginning with 'dom;'. If there is no such path, the following message +should be printed: -;OOV +;OOV -Przykładowo, dla automatu ze ścieżkami, jak wyżej, i wejścia: +For instance, for the automaton given above and the input: budynek dom piła -powinniśmy otrzymać: +we should get: budynek;OOV dom;N piła;N piła;V -W sytuacji, gdy dla jednego prefiksu wejściowego otrzymujemy na wyściu -wiele ścieżek, powinny być one posortowane alfabetycznie. +If there is more than one path for a given word, they should be given in alphabetical order. -Program nie musi sprawdzać, czy tekst wczytany ze standardowego -wejścia jest poprawnym opisem automatu i czy automat jest -deterministyczny i nie zawiera cykli. +The program does not have to check whether the automaton is correct +and whether it is deterministic and does not contain cycles. -NOTE: Task only for students whose student index number ("numer -indeksu") is divisable by 3 with a remainder of 0 +NOTE 1. In section B for points for your tasks, the maximum (rather +than sum) is taken. + +NOTE 2. Task only for students whose student index number ("numer +indeksu") is divisible by 3 with a remainder of 0 POINTS: 14 DEADLINE: 2019-12-16 23:59 diff --git a/TaskB04/description.txt b/TaskB04/description.txt index 663ab9e..605d73a 100644 --- a/TaskB04/description.txt +++ b/TaskB04/description.txt @@ -13,17 +13,13 @@ line containing all subsequent characters. The program does not have to check whether the automaton is correct and whether it is deterministic and does not contain cycles. -Program nie musi sprawdzać, czy tekst wczytany ze standardowego -wejścia jest poprawnym opisem automatu i czy automat jest -deterministyczny i nie zawiera cykli. - Weights (if any) should be disregarded. NOTE 1. In section B for points for your tasks, the maximum (rather than sum) is taken. NOTE 2. Task only for students whose student index number ("numer -indeksu") is divisable by 3 with a remainder of 1 +indeksu") is divisible by 3 with a remainder of 1 POINTS: 14 DEADLINE: 2019-12-16 23:59 diff --git a/TaskB05/description.txt b/TaskB05/description.txt index 93105e4..39532b8 100644 --- a/TaskB05/description.txt +++ b/TaskB05/description.txt @@ -22,7 +22,7 @@ NOTE 1. In section B for points for your tasks, the maximum (rather than sum) is taken. NOTE 2. Task only for students whose student index number ("numer -indeksu") is divisable by 3 with a remainder of 2. +indeksu") is divisible by 3 with a remainder of 2. POINTS: 14 DEADLINE: 2019-12-16 23:59