| Marc Kupietz | 9510451 | 2019-12-05 10:13:05 +0100 | [diff] [blame] | 1 | # Dictionary template generated Wed, 04 Dec 2019 13:37:00 GMT |
| 2 | # Based on Mojolicious::Plugin::Number::Commify |
| 3 | my $THOUSAND_SEP_RE = qr/( |
| 4 | ^[-+]? # beginning of number. |
| 5 | \d+? # first digits before first comma |
| 6 | (?= # followed by, (but not included in the match) : |
| 7 | (?>(?:\d{3})+) # some positive multiple of three digits. |
| 8 | (?!\d) # an *exact* multiple, not x * 3 + 1 or whatever. |
| 9 | )| # or: |
| 10 | \G\d{3} # after the last group, get three digits |
| 11 | (?=\d) # but they have to have more digits after them. |
| 12 | )/x; |
| 13 | |
| 14 | { |
| 15 | _ => sub { $_->locale }, |
| 16 | de => { |
| 17 | numf => sub { |
| 18 | shift; |
| 19 | my %val = @_; |
| 20 | my $num = $val{number} or return 0; |
| 21 | $num =~ s/$THOUSAND_SEP_RE/$1\./g; |
| 22 | return $num; |
| 23 | }, |
| 24 | Cancel => 'Abbrechen', |
| 25 | Apply => 'Anwenden', |
| 26 | Options => 'Optionen', |
| 27 | SEARCH => 'SUCHE', |
| 28 | words_to_be_searched => 'Zu suchende Wortform(en)', |
| Marc Kupietz | 565274e | 2026-09-06 13:17:17 +0200 | [diff] [blame] | 29 | search_description => 'Wenn sie mehrere Wortformen kontrastieren wollen, trennen Sie diese mit Leerzeichen, um um den Mittelpunkt der Alternativen herum nach ähnlichen Wörtern zu suchen und mit "|", um die Nachbarn zu allen angegebenen Wortformen zur erhalten. Mit "+" und "-" lässt sich im Vektorraum rechnen: "König - Mann + Frau" sucht die Nachbarn der so bestimmten Position und die Kontexte, die sie vorhersagt.', |
| 30 | not_in_vocabulary => 'Nicht im Vokabular und daher nicht berücksichtigt:', |
| 31 | ca_single_word_only => 'Zählbasierte Kollokatoren gibt es nur für eine einzelne Wortform. Sie werden pro Knoten in der Kookkurrenzdatenbank nachgeschlagen und lassen sich nicht aus dem Suchvektor berechnen; die prädiktiven Kollokatoren links dagegen schon.', |
| Marc Kupietz | 9510451 | 2019-12-05 10:13:05 +0100 | [diff] [blame] | 32 | paradigmatic_tsne => 'Paradigmatisch (t-SNE)', |
| 33 | paradigmatic_som => 'Paradigmatisch (SOM)', |
| 34 | syntagmatic => 'Syntagmatisch', |
| 35 | collocate_w2v => "Kollokat (W2V)", |
| 36 | collocate_ca => "Kollokat (KA)", |
| Marc Kupietz | d6dfdf0 | 2019-12-06 09:53:34 +0100 | [diff] [blame] | 37 | af_window => "AF-Fenster", |
| 38 | info => <<INFOENDD, |
| 39 | <p> |
| 40 | DeReKoVecs ist das neue gläserne Labor der des Programmbereichs Korpuslinguistik am IDS zur Untersuchung von Maßen und Visualisierungen, die der Erforschung paradigmatischer und syntagmatischer Beziehungen dienen. |
| 41 | </p> |
| 42 | |
| 43 | INFOENDD |
| 44 | about => "Über DeReKoVecs", |
| 45 | training_parameters => "Training-Parameter", |
| 46 | references => "Literatur", |
| 47 | abouttext => "de/about", |
| Marc Kupietz | ce6490b | 2019-12-06 11:05:40 +0100 | [diff] [blame] | 48 | footer => "de/footer", |
| 49 | notfounddialog => "#not-found-dialog_de" |
| Marc Kupietz | 9510451 | 2019-12-05 10:13:05 +0100 | [diff] [blame] | 50 | }, |
| 51 | -en => { |
| 52 | numf => sub { |
| 53 | shift; |
| 54 | my %val = @_; |
| 55 | my $num = $val{number} or return 0; |
| 56 | $num =~ s/$THOUSAND_SEP_RE/$1\,/g; |
| 57 | return $num; |
| 58 | }, |
| 59 | Cancel => 'Cancel', |
| 60 | Apply => 'Apply', |
| 61 | Options => 'Options', |
| 62 | SEARCH => 'SEARCH', |
| 63 | words_to_be_searched => 'Word(s) to be searched', |
| Marc Kupietz | 565274e | 2026-09-06 13:17:17 +0200 | [diff] [blame] | 64 | search_description => 'When looking for multiple words use spaces as separators to search around the average vector and | as separator to get the neighbours for each word. "+" and "-" do arithmetic in the vector space: "König - Mann + Frau" searches the neighbours of the position it computes, and the contexts that position predicts.', |
| 65 | not_in_vocabulary => 'Not in the vocabulary and therefore left out:', |
| 66 | ca_single_word_only => 'Count based collocators exist for a single word form only. They are looked up per node in the co-occurrence database and cannot be computed from the query vector; the predictive collocators on the left can.', |
| Marc Kupietz | 9510451 | 2019-12-05 10:13:05 +0100 | [diff] [blame] | 67 | paradigmatic_tsne => 'Paradigmatic (t-SNE)', |
| 68 | paradigmatic_som => 'Paradigmatic (SOM)', |
| 69 | syntagmatic => 'Syntagmatic', |
| 70 | collocate_w2v => "Collocate (W2V)", |
| 71 | collocate_ca => "Collocate (CA)", |
| Marc Kupietz | d6dfdf0 | 2019-12-06 09:53:34 +0100 | [diff] [blame] | 72 | af_window => "AF window", |
| 73 | info => <<INFOEND, |
| 74 | <p> |
| 75 | DeReKoVecs is the new open lab of the IDS Corpus Linguistics Group for investigating measures and visualizations that serve to explore paradigmatic and syntagmatic relations. |
| 76 | </p> |
| 77 | INFOEND |
| 78 | about => "About DeReKoVecs", |
| 79 | training_parameters => "Training Parameters", |
| 80 | references => "Literature", |
| 81 | abouttext => "en/about", |
| Marc Kupietz | ce6490b | 2019-12-06 11:05:40 +0100 | [diff] [blame] | 82 | footer => "en/footer", |
| 83 | notfounddialog => "#not-found-dialog_en" |
| 84 | |
| Marc Kupietz | 9510451 | 2019-12-05 10:13:05 +0100 | [diff] [blame] | 85 | } |
| 86 | }; |