We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 35f4bc6 commit fb048d1Copy full SHA for fb048d1
monolingualWordAligner/example_align.py
@@ -1,14 +1,14 @@
1
#!/usr/bin/env python
2
-# -*- coding: utf-8 -*-
+# -*- coding: utf-8 -*-
3
from wordAligner import *
4
5
-sentence1 = "UAE is one of biggest country in the world."
6
-sentence2 = "Many people are living in United Arab Emirates"
+sentence1 = "UAE is really well-designed country in the world. US is powerful country"
+sentence2 = "Really well designed is United Arab Emirates. But United States is more populated"
7
8
print "sentence1 = ", sentence1
9
print "sentence2 = ", sentence2
10
11
if __name__ == '__main__':
12
13
processing = Aligner()
14
- print "Words alignment ", processing.align_sentences(sentence1,sentence2)
+ processing.align_sentences(sentence1,sentence2)
0 commit comments