Showing posts with label Lithuanian. Show all posts
Showing posts with label Lithuanian. Show all posts

Wednesday, May 3, 2017

State of the Mission, 2017-05-03: Lots of Coding

I know I've been very quiet lately, but there's a good reason for it.

Here's what I've been doing on Verbalyser:










And this is what I've been focused on for the last few days.  I'm not at liberty to share my code, but I think it's pretty clear how I've gone about it.




 



Friday, April 28, 2017

Refactoring and Unicode

Ruby's implementation of Unicode for Lithuanian, an admittedly complicated language, is not perfect but I have modified a useful script on Gist for identifying the unicode value of a given character.

Now that I can identify the unicode value of tricky diacritics and accents, I can refine my code.

Details of the script here.

Friday, April 7, 2017

Lithuanian gives you good practice with regex

I'm parsing Lithuanian verbs, and in tidying up the raw HTML, I'm compelled to come up with little beauties like this:

<a href="\/[a-z]*\/[a-z]*\W*[a-z]*\W*[a-z]*">

...in order to to clear away the HTML formatting.

The problem lies in the fact that Lithuanian diacritics (č, ž, ė, ę and so on) are not recognised as letters [a-z] but rather as non-word characters \W.


Wednesday, February 22, 2017

1,050 hours

It took me 13 working days to complete my first 100 "work" pomodoros as a Junior Software Tester at Profectus Group.  Much of ...