modified cat
This commit is contained in:
parent
254e028f23
commit
dca134ba2e
@ -10,7 +10,7 @@ function searchHandle(tmid) {
|
||||
}
|
||||
|
||||
$.ajax({
|
||||
url: '/concordia_gate.php',
|
||||
url: '/cat/concordia_gate.php',
|
||||
type: 'post',
|
||||
dataType: 'json',
|
||||
success: function (data) {
|
||||
@ -30,7 +30,7 @@ function phraseSearchHandle(tmid, intervals) {
|
||||
|
||||
|
||||
$.ajax({
|
||||
url: '/concordia_gate.php',
|
||||
url: '/cat/concordia_gate.php',
|
||||
type: 'post',
|
||||
dataType: 'json',
|
||||
success: function (data) {
|
||||
|
@ -38,7 +38,7 @@ with open('concordia_gate.php_pattern', 'r') as gate_pattern_file, open(root_dir
|
||||
gate_file.write(line)
|
||||
|
||||
|
||||
versions_dir = 'versions'
|
||||
versions_dir = 'versions_enabled'
|
||||
|
||||
versions = []
|
||||
|
||||
|
@ -1,4 +1,7 @@
|
||||
#!/bin/sh
|
||||
|
||||
sudo rm -rf /var/www/html/*
|
||||
sudo ./publish.py /var/www/html
|
||||
ROOT_PATH="/var/www/html/cat"
|
||||
|
||||
sudo rm -rf $ROOT_PATH
|
||||
sudo mkdir $ROOT_PATH
|
||||
sudo ./publish.py $ROOT_PATH
|
||||
|
10
cat/versions_available/jrc_enpl.cfg
Normal file
10
cat/versions_available/jrc_enpl.cfg
Normal file
@ -0,0 +1,10 @@
|
||||
dir@#@jrc_enpl
|
||||
concordia_host@#@concordia.vm.wmi.amu.edu.pl
|
||||
concordia_port@#@8800
|
||||
tmid@#@2
|
||||
desc@#@Welcome to the interactive Concordia demo. The system finds the longest matches of the pattern sentence in its translation memory. This translation memory is 200 000 sentences taken from English-Polish corpus of European Law. Please enter an English sentence in the field below and press Enter (or use the search button). This instance of Concordia works best with law sentences, but is very likely to output some results for any English sentence. You can also use predefined samples, simply use the link "show/hide samples" and apply one of the sample sentences. After the search, click on the highlighted fragments to see their context.
|
||||
enjoy@#@Enjoy your work with the system!
|
||||
prompt@#@Enter search pattern (English sentence):
|
||||
suggestion@#@Every ship in the European Union must have a crew of 50 or more workers.
|
||||
suggestion@#@It is impossible to abolish the customs duties on fruit and vegetables.
|
||||
suggestion@#@The convention on human rights was held in Geneva.
|
@ -1,7 +1,7 @@
|
||||
dir@#@jrc_plen
|
||||
concordia_host@#@concordia.vm.wmi.amu.edu.pl
|
||||
concordia_port@#@8800
|
||||
tmid@#@3
|
||||
tmid@#@1
|
||||
desc@#@Witamy w interaktywnym demo systemu Concordia. System znajduje najdłuższe fragmenty zdania wejściowego w pamięci tłumaczeń. W pamięci tej znajduje się 200 000 zdań z polsko-angielskiego korpusu ustawodawstwa Unii Europejskiej. Proszę wpisać polskie zdanie w poniższe pole i nacisnąć Enter (albo użyć przycisku "search"). Ta wersja Concordii działa najlepiej ze zdaniami prawniczymi, ale jest bardzo prawdopodobne, że uzyska się jakiekolwiek wyniki dla dowolnego polskiego zdania. Aby zapoznać się z systemem możesz użyć wcześniej przygotowanych przykładów - po prostu kliknij link "show/hide samples" a następnie przycisk "apply" przy wybranym przykładzie. Po wyszukaniu, kliknij na wybrany podświetlony fragment, aby zobaczyć jego kontekst.
|
||||
enjoy@#@Życzymy udanej pracy z systemem!
|
||||
prompt@#@Wprowadź zdanie (po polsku):
|
@ -1,7 +1,7 @@
|
||||
dir@#@setimes_enhr
|
||||
concordia_host@#@concordia.vm.wmi.amu.edu.pl
|
||||
concordia_port@#@8800
|
||||
tmid@#@4
|
||||
tmid@#@3
|
||||
desc@#@Welcome to Concordia. The system finds the longest matches of the pattern sentence in its translation memory. This translation memory is 200 000 sentences taken from the SETIMES2 English-Croatian corpus (<a href="http://opus.lingfil.uu.se/SETIMES2.php" target="_blank">link</a>). Please enter a Croatian sentence in the field below and press Enter (or use the search button). You can test the system on predefined samples, simply use the link "show/hide samples" and apply one of the sample sentences. After the search, click on the highlighted fragments to see their context.
|
||||
enjoy@#@Enjoy your work with the system!
|
||||
prompt@#@Enter search pattern (English sentence):
|
1
cat/versions_enabled/jrc_enpl.cfg
Symbolic link
1
cat/versions_enabled/jrc_enpl.cfg
Symbolic link
@ -0,0 +1 @@
|
||||
../versions_available/jrc_enpl.cfg
|
1
cat/versions_enabled/jrc_plen.cfg
Symbolic link
1
cat/versions_enabled/jrc_plen.cfg
Symbolic link
@ -0,0 +1 @@
|
||||
../versions_available/jrc_plen.cfg
|
1
cat/versions_enabled/setimes_enhr.cfg
Symbolic link
1
cat/versions_enabled/setimes_enhr.cfg
Symbolic link
@ -0,0 +1 @@
|
||||
../versions_available/setimes_enhr.cfg
|
Loading…
Reference in New Issue
Block a user