Package translate :: Package search :: Module test_match :: Class TestMatch

[hide private]
[frames] | no frames]

# Class TestMatch

source code

Test the matching class

Instance Methods | [hide private]

candidatestrings(self, units) returns only the candidate strings out of the list with (score, string) tuples | source code

buildcsv(self, sources, targets=None) Build a csvfile store with the given source and target strings | source code

test_matching(self) Test basic matching | source code

test_multiple_store(self) Test using multiple datastores | source code

test_extendtm(self) Test that we can extend the TM after creation. | source code

test_terminology(self) | source code