Difference between revisions of "Apertium-tolk"

From Apertium
Jump to navigation Jump to search
Line 1: Line 1:
 
{{TOCD}}
 
{{TOCD}}
Apertium-tolk<ref>No, this isn't a spalling mistake</ref> is a program which translates ''as you type''.
+
'''apertium-tolk'''<ref>No, this isn't a spalling mistake</ref> is a program which translates ''as you type''.
   
 
== What you need ==
 
== What you need ==
Line 6: Line 6:
 
* The [[D-Bus_service_for_Apertium|Apertium D-Bus Service]]
 
* The [[D-Bus_service_for_Apertium|Apertium D-Bus Service]]
 
* A working Apertium 3.0 installation (note: this must be installed)
 
* A working Apertium 3.0 installation (note: this must be installed)
  +
* [[apertium-dbus]]
   
 
== Getting apertium-view ==
 
== Getting apertium-view ==
Line 12: Line 13:
   
 
==Feature requests==
 
==Feature requests==
  +
  +
==Troubleshooting==
  +
  +
The solution to both of the problems below is typically to restart D-Bus. You can do this on Debian and Ubuntu by issuing the following command:
  +
<pre>
  +
$ sudo /etc/init.d/dbus restart
  +
</pre>
  +
  +
;Method does not exist
  +
  +
<pre>
  +
org.freedesktop.DBus.Error.UnknownMethod: Method "translate" with signature "a{ss}s" on interface
  +
"org.apertium.Mode" doesn't exist
  +
</pre>
  +
  +
;Unable to guess signature
  +
  +
<pre>
  +
ERROR:dbus.connection:Unable to set arguments ({}, 'A') according to signature None:
  +
exceptions.ValueError: Unable to guess signature from an empty dict
  +
Unable to guess signature from an empty dict
  +
</pre>
   
 
==Related software==
 
==Related software==

Revision as of 15:57, 9 February 2008

apertium-tolk[1] is a program which translates as you type.

What you need

Macedonian to Serbo-Croatian.

Getting apertium-view

Check out the apertium-tools/simple-viewer from the subversion repository.

Feature requests

Troubleshooting

The solution to both of the problems below is typically to restart D-Bus. You can do this on Debian and Ubuntu by issuing the following command:

$ sudo /etc/init.d/dbus restart
Method does not exist
org.freedesktop.DBus.Error.UnknownMethod: Method "translate" with signature "a{ss}s" on interface 
"org.apertium.Mode" doesn't exist
Unable to guess signature
  ERROR:dbus.connection:Unable to set arguments ({}, 'A') according to signature None: 
  exceptions.ValueError: Unable to guess signature from an empty dict
  Unable to guess signature from an empty dict

Related software

Apertium-view is a similar, but more complicated GUI tool which shows you every stage of the Apertium pipeline.

Notes

  1. No, this isn't a spalling mistake