-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathTODO
More file actions
150 lines (136 loc) · 7.36 KB
/
TODO
File metadata and controls
150 lines (136 loc) · 7.36 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
ui:
- fade effect (on page change?)
- ladeanimation (während ajax request)
- remove temp demo "placeholder", real vert align
- do autocomplete in table (lighter text color to indicate unfinished result) (IDEAR)
- table row control elements like: http://wrapbootstrap.com/preview/WB0B30DGR
- add to vocabulary, voice output (computer or wiktionary entries)
- floating header, fixed position when scrolling down the page
core:
- ajax page load
- remember search query in get while switching pages: index?from=... -> downloads -> index
- nginx rewrite rules: get directly to wikidict.cc/downloads
- auf seiten downloads und about: Im Fenster Titel About und Downloads anstatt nur lowercase
- rewrite #home/#about/#tools/#imprent in url, use modrewrite for index.php?p=about/...
- l18n (internationalisation, localisation)
- funktionalität der seite ohne js
- grep -ir "FIXME" .
features:
- Vokabeln speichern / Liste anlegen
- login, logout, manage vocabularies (
- opensearch autocompletion (test)
- Tippfehler erkennen und Korrektur vorschlagen
- magnet links instead of torrent files
- one torrent complete pack with all dumps
content:
- vocabulary:
- Pronunciations http://en.wiktionary.org/wiki/sunshine
- In der Ergebnistabelle, Vokabeln ergänzen mit Angaben (f/m, plural/singular)
- downloads:
- offer daily dict snapshots as torrent in various open dict formats (there are some dumping projects on github)
search:
- generic:
- escape wrong input (security): input field (html5 regex or something) and submit form
- suchen in beide richtungen
- ignore case per default
- ergebnisse nach gewichtung sortieren (worthäufigkeiti, frequency lists)
- wiktionary api:
- #word: replace spaces with _
- mutmaßlicher bug: wort 'double sharp' linkt nicht mehr richtig wegen leerzeichen
misc:
- beispiel, mit einer api query alles wichtige fetchen http://de.wiktionary.org/w/api.php?action=parse&format=json&prop=templates|iwlinks&page=Sonnenschein
- the translation tables of wiktionary also refers to semantics:
- {{trans-top|to change the form or structure of}} (translation entry for 'to alter')
- there may exist more than one translation for the same vocabulary with different meanings
- one could append the semantics in square brackets after the word in the translation table
- other possible rewrite: /[a-z] -> ?p= (letters but without following /, so that files in css/js/images-dirs won't get redirected)
convert:
- wikt2dict:
- strip: parse with lxml.de (python module), only write important pages back to xml
- use pycountry instead of hardcoded lists of langcodes
- resources:
- convert
- https://github.com/newca12/dictionary-builder
- https://github.com/tkedwards/wiktionarytodict
- https://github.com/juditacs/wikt2dict
- https://github.com/clbecker/perl-wiktionary-parser/
- http://code.google.com/p/jwiktionarytranslationparser/
- http://wordnetweb.princeton.edu/perl/webwn
- http://en.wiktionary.org/wiki/User:Matthias_Buchmeier
- https://github.com/djstrong/PL-Wiktionary-To-Dictionary
- https://github.com/sullerandras/HTML-dictionary
- stardict-babylon-en-es 2.4.2-3 http://mirror.transact.net.au/sourceforge/s/project/st/stardictdata/English/stardict-babylon-Babylon_English_Spanish-2.4.2.tar.bz2
- stardict-en-fr 2.4.2-1 http://yeelou.com/huzheng/stardict-dic/zh_CN/stardict-woaifayu-ef-2.4.2.tar.bz2
- stardict-freedict-de-fr 2.4.2-2 http://www.huzheng.org/stardict-iso/stardict-dic/freedict.de/stardict-freedict-deu-fra-2.4.2.tar.bz2
- http://wiktionary-export.nataraj.su/en/about.html
- similar projects:
- http://webxicon.org
downloads (direct/torrent):
- defenition dictionaries
- ispell spell checking
- frequency lists
- wordnet http://www.cogsci.princeton.edu/~wn/
- conversion
- formats: dictd & dict
- python-relaxml: Converting XML to a dictionary should be easy -- and fast.
- python2-dictshield - Python Library for typed dictionaries... sorta
- python-wikitools - Python scripts and modules to interact with the MediaWiki API
- python2-creoleparser: Parser for the Creole common wiki markup language
- python2-dictlib: Generate files for dictd server [Python] (unmaintained)
- http://gopher.quux.org:70/devel/dictclient - python dict client
- http://gopher.quux.org:70/devel/dictdlib - python lib generating dict files
- desktop
- desktop client http://www-user.tu-chemnitz.de/~fri/ding/
- server
- dictd server as backend
- webfrontend <-> ajax <-> json <-> https://github.com/ptrm/dict.json <-> dict server
- http://pear.php.net/package/Net_Dict
- http://stu.mp/2005/08/php-ajax-dictd-interface.html
- dictd webfrontends:
- http://machaut.uchicago.edu/?resource=frengdict
- http://www.dict.org/w/software/web
- http://www.dict.org/links.html
- dictionary format research:
- http://goldendict.org/dictionaries.php (list of dictionary formats)
- lingvo to stardict http://code.google.com/p/stardict-3/wiki/ConvertLingvo
- babylon to stardict http://code.google.com/p/stardict-3/wiki/ConvertBabylon
- documentation about the stardict format http://code.google.com/p/babiloo/wiki/StarDict_format
- http://dictionarymid.sourceforge.net/dict.html
- http://www.dicts.info/
- http://www.dicts.info/dictionaries.php
- http://www.stardict.org/HowToCreateDictionary
- http://wiki.tei-c.org/index.php/FreeDict (DICT, Evolutionary Dictionary, zbedic)
- http://jalasthana.de/?p=828 (use stardict-editor from stardict-tools to convert tab-file to stardict)
- lol nice? http://sourceforge.net/projects/xdxf/ XML Dictionary Exchange Format
- http://en.wikipedia.org/wiki/DicML
- http://en.wikipedia.org/wiki/Universal_Terminology_eXchange
- zbedic, Evolutionary Dictionary and Opendict
- http://aarddict.org
- EDICT format http://filosofie.unibuc.ro/~solcan/wt/gnu/s/stardict.html
- http://www.linuxlinks.com/article/20110131141441347/JaLingo.html:
Dictionary Specification Language (DSL)
Mova (used in Mueller and Transmagus dictionaries)
PtkDict/phpMyLingvo MySQL dumps
Sdictionary from Sdictionary community site
- LDF http://www.lingoes.net/en/dictionary/dict_format.php
- apertium dix format http://wiki.apertium.org/wiki/Bilingual_dictionary
- oxford universal press bilingual dict format http://www.oup.com/us/catalog/general/subject/Reference/BilingualDictionaries/
http://linguae.stalikez.info/
- voclists:
- möglichkeit name zu ändern
- allen php fu ordentlich absichern gegen sqlinjections etc.
- append new voc lists into the context menu
- contextmenu runtime creation https://github.com/medialize/jQuery-contextMenu/issues/15
- kein contextmenü auf meldungen wie "eintrag nicht gefunden", bla
- see index.php:73
- return codes für voclist_add(): 1: sucess, 0: error, 2: entry already exists
- return codes für voclist_content_add(): 1: sucess, 0: error, 2: entry already exists
- dran denken: asynchrones ajax
- auf error-meldung kein contextmenu
- wenn vocliste gelöscht, dann auch dessen einträge
http://image.bayimg.com/acc2cdf8c96ab06626a29850e9090c29e5d6f4f1.jpg
- get voclist_content, immer noch abfrage zu sessionid
- beim generieren der liste darauf achten, dass die sprachrichtung in der tabelle einheitlich bleibt
common exceptions:
http://en.wiktionary.org/wiki/convertion
search engine optimization - meta tags