Skip to content

Commit 217e4e3

Browse files
committed
Pinned icespeak dependency to special branch to resolve grpcio PyPy incompatibility
1 parent 1740748 commit 217e4e3

File tree

2 files changed

+18
-13
lines changed

2 files changed

+18
-13
lines changed

README.md

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,11 @@ database and processed by grammatical pattern matching modules to obtain stateme
2929
of fact and relations between stated facts.
3030

3131
An overview of the technology behind Greynir can be found in the paper
32-
[A Wide-Coverage Context-Free Grammar for Icelandic
33-
and an Accompanying Parsing System](https://acl-bg.org/proceedings/2019/RANLP%202019/pdf/RANLP160.pdf)
34-
by Vilhjálmur Þorsteinsson, Hulda Óladóttir and Hrafn Loftsson *(Proceedings of Recent Advances in Natural Language Processing, pages 1397–1404, Varna, Bulgaria, Sep 2–4, 2019).*
32+
[A Wide-Coverage Context-Free Grammar for Icelandic and an Accompanying
33+
Parsing System](https://acl-bg.org/proceedings/2019/RANLP%202019/pdf/RANLP160.pdf)
34+
by Vilhjálmur Þorsteinsson, Hulda Óladóttir and Hrafn Loftsson
35+
*(Proceedings of Recent Advances in Natural Language Processing,
36+
pages 1397–1404, Varna, Bulgaria, Sep 2–4, 2019).*
3537

3638
<a href="https://raw.githubusercontent.com/mideind/Greynir/master/static/img/tree-example.png" title="Greynir parse tree">
3739
<img src="static/img/tree-example-small.png" width="400" height="450" alt="Greynir parse tree">
@@ -57,10 +59,11 @@ structured, recursive trees that directly correspond to the original grammar.
5759
These trees can then be further processed and acted upon by sets of Python
5860
functions that are linked to grammar nonterminals.
5961

60-
**Greynir is currently able to parse about *90%* of sentences** in a typical news article from the web,
61-
and many well-written articles can be parsed completely. It presently has well over a million parsed articles
62-
in its database, containing more than 16 million parsed sentences. A relatively recent (2021) version of this
63-
database is available via the [GreynirCorpus](https://github.com/mideind/GreynirCorpus) project.
62+
**Greynir is currently able to parse about *90%* of sentences** in a typical news article
63+
from the web, and many well-written articles can be parsed completely. It presently has about
64+
1.3 million parsed articles in its database, containing about 18 million parsed sentences.
65+
A 2021 version of this database is available via the
66+
[GreynirCorpus](https://github.com/mideind/GreynirCorpus) project.
6467

6568
Greynir supports natural language querying of its databases. Users can ask about person names, titles and
6669
entity definitions and get appropriate replies. The HTML5 Web Speech API is supported to allow

requirements.txt

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,21 +14,23 @@ requests>=2.32.3
1414
typing-extensions>=4.13.2
1515
python-dotenv>=1.1.0
1616
# Scraping
17-
beautifulsoup4>=4.13.4
18-
feedparser>=6.0.11
17+
beautifulsoup4==4.13.4
18+
feedparser==6.0.11
1919
# Query modules
20-
pytz>=2025.2
21-
timezonefinder>=6.5.9
20+
pytz==2025.2
21+
timezonefinder==6.5.9
2222
rjsmin>=1.2.4
23-
python-youtube>=0.9.1
23+
python-youtube==0.9.1
2424
country-list>=1.1.0
2525
# For OpenAI GPT support
2626
openai==1.14.3
2727
httpx==0.27.2 # to address issue in old version of OpenAI API
2828
# Ours
2929
reynir>=3.5.7
3030
islenska>=1.0.3
31-
icespeak<=0.3.6
31+
# Pinning old version of Icespeak since newer require
32+
# grpcio, which doesn't work under PyPy. :/
33+
icespeak @ git+https://github.com/mideind/Icespeak@greynir
3234
iceaddr>=0.5.8
3335
iceweather>=0.2.3
3436
cityloc>=0.1.1

0 commit comments

Comments
 (0)