Re: F30 Self-Contained Change proposal: Ibus-typing-booster default for Indian languages

2019-02-11 Thread Takao Fujiwara

Hi folks,

If it's not a single input source, I'd think it could be an idea to implement 
the languages tag besides language tag in that ibus compose file.

Fujiwara

On 2019/01/29 15:33, Mike FABIAN-san wrote:

Owen Taylor  さんはかきました:


Currently, ibus-m17n is the default input method for Indian languages
in Fedora.  ibus-typing-booster uses the same libm17n used by
ibus-m17n to support input for Indian languages and thus it can do
everything ibus-m17n can do. But on top of that, ibus-typing-booster
supports predictive input by remembering user input and by using words
from dictionaries.  Therefore, ibus-typing-booster is a more useful input method
for these languages.

== Benefit to Fedora ==
A better input experience for users of Indian languages.


How would I try this out in Fedora 29?

I see that I have ibus-typing-booster installed, but I don't see any
sign of it in the GNOME "Region & Language" panel input source
selection. Does ibus-typing-booster look like one input support for
each supported language, or does it look like a single input source?


It looks like a single input source. Here are some
screen shots how to add it using the GNOME "Region & Language" panel:

http://mike-fabian.github.io/ibus-typing-booster/documentation.html#adding-gnome

It is listed under “Other” in the GNOME "Region & Language" panel input
source selection.

That is because it use “t” here:

 $ /usr/libexec/ibus-engine-typing-booster --xml
 
 
 typing-booster
 Typing Booster
 t
 GPL
 Mike FABIAN mfab...@redhat.com, Anish Patil 
anish.develo...@gmail.com
 
/usr/share/ibus-typing-booster/icons/ibus-typing-booster.svg
 default
 A completion input method to speedup 
typing.
 
 /usr/libexec/ibus-setup-typing-booster
 InputMode
 
 

At the moment, ibus supports only one language in the
“t” tag. And as ibus-typing-booster supports many
languages, “en” does not seem right, it would look
like it supports only English. So only “t” for “Other” seems appropriate
at the moment. But it is a bit hard to find in “Other” in the GNOME
"Region & Language" panel.

When ibus-typing-booster is first used, it defaults to dictionaries
and m17n-input-methods appropriate to the locale it is first started in.

/usr/share/ibus-typing-booster/engine/itb_util.py contains the defaults,
for example for Marathi it has:

LOCALE_DEFAULTS = {
 ...
 'mr_IN': {'inputmethods': ['mr-inscript2', 'NoIme'], 'dictionaries': 
['mr_IN', 'en_GB']},
 ...

So when the locale is mr_IN.UTF-8 while ibus-typing-booster is first
started, it defaults to the two input methods 'mr-inscript2' (a Marathi
input method) and 'NoIme' (that is direct keyboard input, useful for
English) and the dictionaries for mr_IN and for en_GB.

This can be changed in the setup tool of ibus-typing-booster, one can
choose up to 10 input methods and 10 dictionaries at the same time.


Thanks!
Owen
___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org



___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org


Re: F30 Self-Contained Change proposal: Ibus-typing-booster default for Indian languages

2019-01-28 Thread Mike FABIAN
Owen Taylor  さんはかきました:

>> Currently, ibus-m17n is the default input method for Indian languages
>> in Fedora.  ibus-typing-booster uses the same libm17n used by
>> ibus-m17n to support input for Indian languages and thus it can do
>> everything ibus-m17n can do. But on top of that, ibus-typing-booster
>> supports predictive input by remembering user input and by using words
>> from dictionaries.  Therefore, ibus-typing-booster is a more useful input 
>> method
>> for these languages.
>>
>> == Benefit to Fedora ==
>> A better input experience for users of Indian languages.
>
> How would I try this out in Fedora 29?
>
> I see that I have ibus-typing-booster installed, but I don't see any
> sign of it in the GNOME "Region & Language" panel input source
> selection. Does ibus-typing-booster look like one input support for
> each supported language, or does it look like a single input source?

It looks like a single input source. Here are some
screen shots how to add it using the GNOME "Region & Language" panel:

http://mike-fabian.github.io/ibus-typing-booster/documentation.html#adding-gnome

It is listed under “Other” in the GNOME "Region & Language" panel input
source selection.

That is because it use “t” here:

$ /usr/libexec/ibus-engine-typing-booster --xml


typing-booster
Typing Booster
t
GPL
Mike FABIAN mfab...@redhat.com, Anish Patil 
anish.develo...@gmail.com

/usr/share/ibus-typing-booster/icons/ibus-typing-booster.svg
default
A completion input method to speedup 
typing.

/usr/libexec/ibus-setup-typing-booster
InputMode



At the moment, ibus supports only one language in the
“t” tag. And as ibus-typing-booster supports many
languages, “en” does not seem right, it would look
like it supports only English. So only “t” for “Other” seems appropriate
at the moment. But it is a bit hard to find in “Other” in the GNOME
"Region & Language" panel.

When ibus-typing-booster is first used, it defaults to dictionaries
and m17n-input-methods appropriate to the locale it is first started in.

/usr/share/ibus-typing-booster/engine/itb_util.py contains the defaults,
for example for Marathi it has:

LOCALE_DEFAULTS = {
...
'mr_IN': {'inputmethods': ['mr-inscript2', 'NoIme'], 'dictionaries': 
['mr_IN', 'en_GB']},
...

So when the locale is mr_IN.UTF-8 while ibus-typing-booster is first
started, it defaults to the two input methods 'mr-inscript2' (a Marathi
input method) and 'NoIme' (that is direct keyboard input, useful for
English) and the dictionaries for mr_IN and for en_GB.

This can be changed in the setup tool of ibus-typing-booster, one can
choose up to 10 input methods and 10 dictionaries at the same time. 

> Thanks!
> Owen
> ___
> devel mailing list -- devel@lists.fedoraproject.org
> To unsubscribe send an email to devel-le...@lists.fedoraproject.org
> Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
> List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
> List Archives: 
> https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org

-- 
Mike FABIAN 
睡眠不足はいい仕事の敵だ。
___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org


Re: F30 Self-Contained Change proposal: Ibus-typing-booster default for Indian languages

2019-01-28 Thread Owen Taylor
OK, so trying it out, I note the following:

 * The top panel shows a full-color rocket where the current language
would normally be indicated (this needs to be monochromatic, but it
also needs to be meaningful)
 *  There is no I can find to use ibus-typing-booster to type in
something other than the current locale. I'd imagine that typing in
more than one Indian script is a real use case? In any case, the
design is that input sources are per-language and you switch input
source to switch input language.
 * Under wayland (at least), there is severe flashing where the
candidate window disappears and appears for every keystroke.

Presumably we have feedback from native speakers that the
ibus-typing-booster makes things better for them - but I think we need
to address the above issues to make the switch over.

Owen




I don't have any

Owen

On Mon, Jan 28, 2019 at 4:57 AM Jens-Ulrik Petersen  wrote:
>
> On Mon, Jan 28, 2019 at 8:04 AM Owen Taylor  wrote:
>>
>> I see that I have ibus-typing-booster installed, but I don't see any
>> sign of it in the GNOME "Region & Language" panel input source
>> selection. Does ibus-typing-booster look like one input support for
>> each supported language, or does it look like a single input source?
>
>
> ibus Typing Booster used to expose separate Input Sources for each language 
> it supports, but in 2.0 we unified it to a single Input Source under Other 
> languages.
>
> Hope that helps, Jens
> ___
> devel mailing list -- devel@lists.fedoraproject.org
> To unsubscribe send an email to devel-le...@lists.fedoraproject.org
> Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
> List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
> List Archives: 
> https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org


Re: F30 Self-Contained Change proposal: Ibus-typing-booster default for Indian languages

2019-01-28 Thread Jens-Ulrik Petersen
On Mon, Jan 28, 2019 at 8:04 AM Owen Taylor  wrote:

> I see that I have ibus-typing-booster installed, but I don't see any
> sign of it in the GNOME "Region & Language" panel input source
> selection. Does ibus-typing-booster look like one input support for
> each supported language, or does it look like a single input source?
>

ibus Typing Booster used to expose separate Input Sources for each language
it supports, but in 2.0 we unified it to a single Input Source under Other
languages.

Hope that helps, Jens
___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org


Re: F30 Self-Contained Change proposal: Ibus-typing-booster default for Indian languages

2019-01-27 Thread Owen Taylor
> Currently, ibus-m17n is the default input method for Indian languages
> in Fedora.  ibus-typing-booster uses the same libm17n used by
> ibus-m17n to support input for Indian languages and thus it can do
> everything ibus-m17n can do. But on top of that, ibus-typing-booster
> supports predictive input by remembering user input and by using words
> from dictionaries.  Therefore, ibus-typing-booster is a more useful input 
> method
> for these languages.
>
> == Benefit to Fedora ==
> A better input experience for users of Indian languages.

How would I try this out in Fedora 29?

I see that I have ibus-typing-booster installed, but I don't see any
sign of it in the GNOME "Region & Language" panel input source
selection. Does ibus-typing-booster look like one input support for
each supported language, or does it look like a single input source?

Thanks!
Owen
___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org


F30 Self-Contained Change proposal: Ibus-typing-booster default for Indian languages

2019-01-17 Thread Ben Cotton
https://fedoraproject.org/wiki/Changes/Ibus_typing_booster_default_for_indian_languages

== Summary ==
Make ibus-typing-booster the default input method for Indian languages.

== Owner ==
* Name: [[User:Mfabian|Mike Fabian]]
* Email: 

== Detailed Description ==
Currently, ibus-m17n is the default input method for Indian languages
in Fedora.  ibus-typing-booster uses the same libm17n used by
ibus-m17n to support input for Indian languages and thus it can do
everything ibus-m17n can do. But on top of that, ibus-typing-booster
supports predictive input by remembering user input and by using words
from dictionaries.  Therefore, ibus-typing-booster is a more useful input method
for these languages.

== Benefit to Fedora ==
A better input experience for users of Indian languages.

== Scope ==
* Proposal owners:
The langtable package has data about default input methods. Change this data.
But the data in langtable is currently apparently not used by
gnome-initial setup.
The list of default input methods used by gnome-initial-setup us stored in


libgnome-desktop/default-input-sources.h


Currently there are the following default input methods for the Indian locales:


static DefaultInputSource default_input_sources[] =
{
  ...
  { "as_IN","ibus", "m17n:as:phonetic" },
  ...
  { "bn_IN","ibus", "m17n:bn:inscript" },
  ...
  { "gu_IN","ibus", "m17n:gu:inscript" },
  ...
  { "hi_IN","ibus", "m17n:hi:inscript" },
  ...
  { "kn_IN","ibus", "m17n:kn:kgp" },
  ...
  { "mai_IN",   "ibus", "m17n:mai:inscript" },
  ...
  { "ml_IN","ibus", "m17n:ml:inscript" },
  ...
  { "mr_IN","ibus", "m17n:mr:inscript" },
  ...
  { "or_IN","ibus", "m17n:or:inscript" },
  ...
  { "pa_IN","ibus", "m17n:pa:inscript" },
  ...
  { "sd_IN","ibus", "m17n:sd:inscript" },
  ...
  { "ta_IN","ibus", "m17n:ta:tamil99" },
  ...
  { "te_IN","ibus", "m17n:te:inscript" },
  ...
  { "ur_IN","ibus", "m17n:ur:phonetic" },
  ...


Here, "m17n:as:phonetic" would need to be replaced with "typing-booster".
And similar for the other Indian languages.

ibus-typing-booster selects the  default input method to use
from the locale when it  is first started. For the above Indian
locales ibus-typing-booster >= 2.4.2 has the same default
m17n input methods as  libgnome-desktop/default-input-sources.h,
except that it always uses inscript2 instead of inscript by default.

* Other developers: N/A (not a System Wide Change)
* Policies and guidelines: N/A (not a System Wide Change)
* Trademark approval: N/A (not needed for this Change)


== Upgrade/compatibility impact ==
Nothing should happen when upgrading from a previous version of Fedora.
If a user used ibus-m17n before the upgrade, he will still use it
after the upgrade.
This change proposal only changes the default input method for an
Indian language
for new installs or new user accounts.

== How To Test ==
Do a new installation of Fedora 30 in an Indian language. Log into Gnome.
See what input method is suggested by default by gnome-initial-setup.

== User Experience ==
Easier input of Indian language because of predictive input.

== Dependencies ==
gnome-initial-setup

== Contingency Plan ==
* Contingency mechanism: Leave the default input methods as they are
now and move the change to Fedora 31
* Contingency deadline: Fedora 30 Beta release
* Blocks release? No.
* Blocks product? No.


-- 
Ben Cotton
Fedora Program Manager
TZ=America/Indiana/Indianapolis
___
devel-announce mailing list -- devel-announce@lists.fedoraproject.org
To unsubscribe send an email to devel-announce-le...@lists.fedoraproject.org
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel-announce@lists.fedoraproject.org


F30 Self-Contained Change proposal: Ibus-typing-booster default for Indian languages

2019-01-17 Thread Ben Cotton
https://fedoraproject.org/wiki/Changes/Ibus_typing_booster_default_for_indian_languages

== Summary ==
Make ibus-typing-booster the default input method for Indian languages.

== Owner ==
* Name: [[User:Mfabian|Mike Fabian]]
* Email: 

== Detailed Description ==
Currently, ibus-m17n is the default input method for Indian languages
in Fedora.  ibus-typing-booster uses the same libm17n used by
ibus-m17n to support input for Indian languages and thus it can do
everything ibus-m17n can do. But on top of that, ibus-typing-booster
supports predictive input by remembering user input and by using words
from dictionaries.  Therefore, ibus-typing-booster is a more useful input method
for these languages.

== Benefit to Fedora ==
A better input experience for users of Indian languages.

== Scope ==
* Proposal owners:
The langtable package has data about default input methods. Change this data.
But the data in langtable is currently apparently not used by
gnome-initial setup.
The list of default input methods used by gnome-initial-setup us stored in


libgnome-desktop/default-input-sources.h


Currently there are the following default input methods for the Indian locales:


static DefaultInputSource default_input_sources[] =
{
  ...
  { "as_IN","ibus", "m17n:as:phonetic" },
  ...
  { "bn_IN","ibus", "m17n:bn:inscript" },
  ...
  { "gu_IN","ibus", "m17n:gu:inscript" },
  ...
  { "hi_IN","ibus", "m17n:hi:inscript" },
  ...
  { "kn_IN","ibus", "m17n:kn:kgp" },
  ...
  { "mai_IN",   "ibus", "m17n:mai:inscript" },
  ...
  { "ml_IN","ibus", "m17n:ml:inscript" },
  ...
  { "mr_IN","ibus", "m17n:mr:inscript" },
  ...
  { "or_IN","ibus", "m17n:or:inscript" },
  ...
  { "pa_IN","ibus", "m17n:pa:inscript" },
  ...
  { "sd_IN","ibus", "m17n:sd:inscript" },
  ...
  { "ta_IN","ibus", "m17n:ta:tamil99" },
  ...
  { "te_IN","ibus", "m17n:te:inscript" },
  ...
  { "ur_IN","ibus", "m17n:ur:phonetic" },
  ...


Here, "m17n:as:phonetic" would need to be replaced with "typing-booster".
And similar for the other Indian languages.

ibus-typing-booster selects the  default input method to use
from the locale when it  is first started. For the above Indian
locales ibus-typing-booster >= 2.4.2 has the same default
m17n input methods as  libgnome-desktop/default-input-sources.h,
except that it always uses inscript2 instead of inscript by default.

* Other developers: N/A (not a System Wide Change)
* Policies and guidelines: N/A (not a System Wide Change)
* Trademark approval: N/A (not needed for this Change)


== Upgrade/compatibility impact ==
Nothing should happen when upgrading from a previous version of Fedora.
If a user used ibus-m17n before the upgrade, he will still use it
after the upgrade.
This change proposal only changes the default input method for an
Indian language
for new installs or new user accounts.

== How To Test ==
Do a new installation of Fedora 30 in an Indian language. Log into Gnome.
See what input method is suggested by default by gnome-initial-setup.

== User Experience ==
Easier input of Indian language because of predictive input.

== Dependencies ==
gnome-initial-setup

== Contingency Plan ==
* Contingency mechanism: Leave the default input methods as they are
now and move the change to Fedora 31
* Contingency deadline: Fedora 30 Beta release
* Blocks release? No.
* Blocks product? No.


-- 
Ben Cotton
Fedora Program Manager
TZ=America/Indiana/Indianapolis
___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org