translate / spelt Goto Github PK
View Code? Open in Web Editor NEWA simple graphical program that can be used to classify words in a language
Home Page: http://translate.sourceforge.net/wiki/spelt/index
A simple graphical program that can be used to classify words in a language
Home Page: http://translate.sourceforge.net/wiki/spelt/index
=============================================================================== SPELT by Translate.org.za Version 0.1 rc1 Copyright (c) 2008 Zuza Software Foundation Last updated: July 14, 2008 =============================================================================== Please see http://translate.sourceforge.net/wiki/spelt/index for more information.
Enter a root, select a part of speech by mouse from the dropdown. Note how the “Add Root” button is never activated.
Buttons for reject and ignore can’t be used with Alt+R and Alt+I if the autocomplete window is active. Perhaps we should at least not show the suggestions if there are none. To what extent are we in control of that?
With an empty database, Spelt displays “[Some status message here]”
Traceback (most recent call last):
File “./spelt/gui/menu.py”, line 202, in __on_item_activated
getattr(self, handler_name)()
File “./spelt/gui/menu.py”, line 157, in handler_quit
self.gui.quit()
File “./spelt/gui/gui.py”, line 287, in quit
self.langdb.save()
AttributeError: ‘GUI’ object has no attribute ‘langdb’
If we previously identified the root “njengoba” and later want to add the root “nje” spelt always completes it with njengoba, even if we have already moved to the part of speech field.
With unsaved work, Spelt should warn before closing from Alt+F4 or closing the window through the window manager
When saving lxml-created nodes, it adds a bunch of annotations like the “xmlns:xsd…” and “xsi:nil…” parts in the following snippet:
kraaı
This should be removed, because it is redundant and might complicate later usage of the language database(s).
InvalidElementError is definied in spelt/common/exceptions which is not imported in model_factory
Traceback (most recent call last):
File “spelt/gui/dlg_dbload.py”, line 179, in on_open_clicked
self.langdb_path = self.gui.get_open_filename()
File “spelt/gui/dlg_dbload.py”, line 40, in _set_langdb_path
self.langdb = LanguageDB(filename=txt)
File “/home/fwolff/download/translate/src/spelt/spelt/models/langdb.py”, line 92, in __init
self.load(filename)
File “/home/fwolff/download/translate/src/spelt/spelt/models/langdb.py”, line 289, in load
model = ModelFactory.create_model_from_elem(child)
File “./spelt/models/model_factory.py”, line 52, in create_model_from_elem
raise InvalidElementError(_(‘Invalid XML element with tag “%s”’) % (elem.tag))
NameError: global name ‘InvalidElementError’ is not defined
Import words → type invalid file name → note how you can never correct the problem.
When running Spelt via the current spelt.py (revision 7536), the following warnings are issued on the console:
$ python spelt.py
./gui/edit_area.py:194: GtkWarning: gtk_cell_layout_set_attributes: assertion `GTK_IS_CELL_RENDERER (cell)’ failed
self.cmb_pos.set_text_column(COL_TEXT)
./gui/edit_area.py:202: GtkWarning: gtk_cell_layout_set_attributes: assertion`GTK_IS_CELL_RENDERER (cell)’ failed
self.cmb_root.set_text_column(COL_TEXT)
Everything seems to work fine, although these warnings could be indicative of later/hidden problems.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.