')
- translation = translation.replace(''', '\'')
- translation = translation.replace(''', '\'')
- translation = translation.replace('< ', '<') # crappy attempt at undoing the safety above
-
- return translation
-
-if __name__ == '__main__':
- babelfish = Babelfish(None, None, None)
- print('\'' + babelfish.translate('en', 'ja', 'i can\'t read it, there aren\'t any words there') + '\'')
-
-# vi:tabstop=4:expandtab:autoindent
-# kate: indent-mode python;indent-width 4;replace-tabs on;