shenleban tongying
f1e158578f
refactor: use standard string types and merge string namespaces to Text
2024-11-23 08:15:43 -05:00
shenleban tongying
76aaed116b
clean: delete gddebug
2024-11-21 12:17:03 -05:00
shenleban tongying
c8af0450f1
clean: remove redundant gd::toWString
2024-11-12 19:32:13 -05:00
shenleban tongying
a11c9e3aec
clean: mass apply clang-tidy's readability-braces-around-statements
2024-10-10 03:21:27 -04:00
shenleban tongying
b5349478cf
clean: reformat everything
...
The next commit will add `.git-blame-ignore-revs`
https://docs.github.com/en/repositories/working-with-files/using-files/viewing-a-file#ignore-commits-in-the-blame-view
2023-07-20 04:02:22 -04:00
xiaoyifang
671427803a
fix: replace suggestion list with QCompleter ( #808 )
...
* fix: replace suggestionList with QCompleter
* 🎨 apply clang-format changes
* fix: code smells
---------
Co-authored-by: xiaoyifang <xiaoyifang@users.noreply.github.com>
2023-06-05 21:22:20 +08:00
xiaoyifang
325c3fb0bb
opt: replace qthreadpool with qfuture
...
relate #515
2023-04-29 18:08:39 +08:00
Xiao YiFang
c2f856c074
opt: Sorting through the use of strings
...
there are many string conversion in the system .some of them can be avoided .
2023-04-24 15:11:40 +08:00
shenleban tongying
129345613e
refactor: Move all .cc/.hh files to src/
2023-04-17 17:17:36 -04:00
Konstantin Isakov
ab88fa4867
Drop the src/ directory. It's superfluous.
2010-05-15 16:42:18 +04:00
Konstantin Isakov
ceab951fe9
Update year in copyright notices.
2010-05-08 22:59:59 +04:00
Konstantin Isakov
c6b9cc0434
When an unsuccessful attempt to look up a phrase or whole sentence is made, the query is splitted into individual words and presented to user as links. Then all the compound expressions (expressions consisting of two or more words) are attempted to be found, and the results are also presented to the user.
2010-03-30 17:41:14 +04:00
Konstantin Isakov
197ccf35d4
+ Support for transliterations added. For now basic Russian translit and
...
Hepburn Romaji are supported.
2009-05-06 14:39:08 +00:00
Konstantin Isakov
babde3d53d
*! Introduce gd::wstring and gd:wchar and switch to them from std::wstring and
...
wchar_t. This changes nothing on Linux and most other systems, but on Win32
it causes to use normal UCS-4 strings instead of Win32's usual UTF-16.
2009-04-18 17:20:12 +00:00
Konstantin Isakov
629a138f7e
+ Dictionary::stemmedMatch() added, and is now used for word suggestions when
...
no translations were found.
2009-04-17 13:51:50 +00:00
Konstantin Isakov
e41ad3126b
+ Sort prefix matches by their lengths, the smaller the better.
2009-04-09 22:09:38 +00:00
Konstantin Isakov
ccd235e9c3
+ If a word is known by a spellchecker, it now shows up in the word search
...
results. To signify that it's merely a morphological match, it is shown in
italic, unless it was also returned by other dictionaries.
2009-04-09 15:27:34 +00:00
Konstantin Isakov
01a0ee113c
+ Add fullcase folding phase when ranking words in wordFinder.
...
+ Add Folding::trimWhitespaceOrPunct() function, which will be used later.
2009-04-08 21:22:50 +00:00
Konstantin Isakov
41b312074c
+ Folding algoritms now incorporate punctuation and whitespace folding.
...
+ When headwords contain multiple words, each of them is indexed now.
+ Wordfinder now employs an intelligent, rank-based sorting algoritm.
2009-04-08 16:02:12 +00:00
Konstantin Isakov
7859daaff6
* Major dictionary interface rework. Dictionaries now return Request objects
...
which can provide results asyncronously, be discarded prematurely etc. This
work touches just about every piece of exiting code.
+ On top of the new interface, MediaWiki (Wikipedia) support was added.
* Some other small fixes might went along.
2009-03-26 19:00:08 +00:00
Konstantin Isakov
4bae99aeb5
Mass-update email to point to a @berlios one.
2009-02-05 14:21:47 +00:00
Konstantin Isakov
faeacaff3e
Implement asyncronous word finding.
2009-01-29 19:16:25 +00:00