(2015-01-06, 03:54)hernandito Wrote: Can you anticipate any issues with this? I would never have figured this out without your reply to the original post.
Only that it is a very language specific solution, ie, works only for languages such as English where "The" is only article, which is totally fine if this is only for personal use.
You can view what is considered to be an article in each
language by viewing the langinfo.xml file and searching for "<tokens>". Most languages either have no article or only "The", but some languages, ie. Spanish, have several variations (The, El, Los, La, Las, Un), while Belarusian/Russian/Ukranian have 18 variations! This would make your solution more or less impractical for these languages. But for languages with only "The", it's fine.
Definite article (<token>) counts by language:
Code:
18 Belarusian
18 Russian
18 Ukrainian
10 Italian
9 Catalan
7 French
7 French (Canada)
6 Spanish
6 Spanish (Argentina)
5 Portuguese
5 Spanish (Mexico)
4 Dutch
4 German
4 Slovenian
3 Hungarian
1 Burmese
1 Czech
1 Danish
1 English
1 English (Australia)
1 English (New Zealand)
1 English (US)
1 Estonian
1 Faroese
1 Finnish
1 Icelandic
1 Japanese
1 Latvian
1 Maori
1 Norwegian
1 Romanian
1 Swedish
1 Thai
1 Welsh