User:Asfrent/GSoC Log

From Apertium
Jump to navigation Jump to search

GSoC Log

06.06.2014

  • wrote a new test suite under new_tests folder.
  • added language pairs es-ro, ro-es, en-es, es-en.
  • three types of tests:
    • normal - compare the output of xfervm with the one of the xml treewalking based transfer.
    • memory - tests using valgrind --tool=memcheck.
    • performance - tests using valgrind --tool=callgrind.
  • fixed valgrind error complaining about uninitialized raw pointers.

07.06.2014

  • fixed memory leak in SystemTrie, most of the memcheck tests pass now.
  • fixed invalid memory access in ChunkWord.
  • analysed the code for other bugs, discovered issues because of rule ambiguity in XML files.

10.06.2014

  • bug hunting all day.
  • discovered issues with <modify-case> in XML rules of es-ro.
  • implemented instruction line number for debugging purposes.
  • fixed "numbers are considered uppercase issue".
  • after a discussion with spectie on IRC we decided to move to the next phase of the project,

the implementation of a compressed trie datastructure. The tests have to be redone, I will do the changes to the code as to keep the current behavior (output), buggy or not. The rationale behind this decision is that most of the bugs we analysed so far were due to wrong XML rules, rather than code bugs.