Difference between revisions of "User:Junzay/Blank handling"

From Apertium
Jump to navigation Jump to search
Line 6: Line 6:


==TODO==
==TODO==
* Fill in the "what works" section above
* Makefile for deformatter/reformatter code
* Write tests for transfer/interchunk using the structure of the pretransfer tests
* Fix <code><nowiki>[1]</nowiki></code> being printed twice and <code><nowiki>[4]</nowiki></code> not at all when testing with apertium-nno-nob:
<pre>$ git log -1
commit 6ec869c012b2965f619e0a0532b8ca4cdf335d18
Author: junaidiiith <junaid695683@gmail.com>
Date: Sun Jul 31 17:51:54 2016 +0530


Transfer and interchunk updated

$ make --quiet
Making all in apertium

$ echo '[1]^gen-prep<pr>{^til<pr>$}$ [3]^n<n><m><sg><def><gen>{^bil<n><m><sg><def>$}$[4]^n<n><nt><sg><ind>{[{2}]^problem<n><nt><sg><ind>$}$[]' \
| apertium/apertium-interchunk /l/n/apertium-nno-nob.nob-nno.t2x /l/n/nob-nno.t2x.bin 2>/dev/null
[1]^n<n><nt><sg><def>{[{2}]^problem<n><nt><sg><ind>$}$[1]^gen-prep<pr>{^til<pr>$}$ [3]^n<n><m><sg><def><gen>{^bil<n><m><sg><def>$}$[]
</pre>


==See also==
==See also==

Revision as of 07:25, 2 August 2016

GsoC 2016 project

Code at https://github.com/junaidiiith/Apertium / https://github.com/junaidiiith/Apertium_Code

What works currently

TODO

  • Fill in the "what works" section above
  • Makefile for deformatter/reformatter code
  • Write tests for transfer/interchunk using the structure of the pretransfer tests
  • Fix [1] being printed twice and [4] not at all when testing with apertium-nno-nob:
$ git log -1
commit 6ec869c012b2965f619e0a0532b8ca4cdf335d18
Author: junaidiiith <junaid695683@gmail.com>
Date:   Sun Jul 31 17:51:54 2016 +0530

    Transfer and interchunk updated

$ make --quiet
Making all in apertium

$ echo '[1]^gen-prep<pr>{^til<pr>$}$ [3]^n<n><m><sg><def><gen>{^bil<n><m><sg><def>$}$[4]^n<n><nt><sg><ind>{[{2}]^problem<n><nt><sg><ind>$}$[]' \
   | apertium/apertium-interchunk /l/n/apertium-nno-nob.nob-nno.t2x /l/n/nob-nno.t2x.bin 2>/dev/null
[1]^n<n><nt><sg><def>{[{2}]^problem<n><nt><sg><ind>$}$[1]^gen-prep<pr>{^til<pr>$}$ [3]^n<n><m><sg><def><gen>{^bil<n><m><sg><def>$}$[]

See also