From fb0f46be4a0cc4d673c9bd1153c0cb8c674ad9d5 Mon Sep 17 00:00:00 2001 From: "jordi.saludes" Date: Thu, 22 Dec 2011 21:29:45 +0000 Subject: Fixing 'linearize' in py-bindings/test.py --- contrib/py-bindings/example.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'contrib/py-bindings/example.rst') 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'] -- cgit v1.2.3