summaryrefslogtreecommitdiff
path: root/contrib/py-bindings/example.rst
diff options
context:
space:
mode:
authorjordi.saludes <jordi.saludes@upc.edu>2011-12-22 21:29:45 +0000
committerjordi.saludes <jordi.saludes@upc.edu>2011-12-22 21:29:45 +0000
commitfb0f46be4a0cc4d673c9bd1153c0cb8c674ad9d5 (patch)
tree695562f3363e88a294efbaf6e1947cddc25f1302 /contrib/py-bindings/example.rst
parentbff947f44f70e3c3f5f4d25ed07524730ca56acf (diff)
Fixing 'linearize' in py-bindings/test.py
Diffstat (limited to 'contrib/py-bindings/example.rst')
-rw-r--r--contrib/py-bindings/example.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/py-bindings/example.rst b/contrib/py-bindings/example.rst
index 4d3c015c0..770c6e862 100644
--- a/contrib/py-bindings/example.rst
+++ b/contrib/py-bindings/example.rst
@@ -9,7 +9,7 @@ First you must import the library:
>>> import gf
-then load a .pgf file, like this tiny example:
+then load a PGF file, like this tiny example:
>>> pgf = gf.read_pgf("Query.pgf")
@@ -73,7 +73,7 @@ Is it important to note the blank space at the end, otherwise we get it again:
['is']
But, how come that nothing is suggested at "is "?
-At the current point, a literal integer is expected so GF would have to present an infinite list of alternatives. I can not blame it for refusing to do so.
+At the current point, a literal integer is expected so GF would have to present an infinite list of alternatives. I cannot blame it for refusing to do so.
>>> pgf.complete(eng, "is 42 ")
['even', 'odd', 'prime']