Unable to use pip to install packages

2021-04-01 Thread Md Sohail Ansari via Python-list
hsohai\appdata\local\programs\python\python38\lib\site-packages\pip\_internal\commands\install.py", line 12, in     from pip._internal.cache import WheelCacheModuleNotFoundError: No module named 'pip._internal.cache'- Note: Have included pip in Enviromnet Variables Thank you,Sohail. -- https://mail.python.org/mailman/listinfo/python-list

Error

2016-03-13 Thread Abeer Sohail
I get this error every time I open Python. -- https://mail.python.org/mailman/listinfo/python-list

How to parse a sentence using grammars provided by nltk?

2010-08-12 Thread Sohail
Hi, When I define my own production rules for the grammar the code below runs fine. Can anyone tell me how to use the built in grammars of nltk (if there are any)? >>> groucho_grammar = nltk.parse_cfg(""" ... S -> NP VP ... PP -> P NP ... NP -> Det N | Det N PP | 'I' ... VP -> V NP | VP PP ... De

Python library for Sequence Matching/Comparison

2010-08-07 Thread Sohail
Hi, Is there any sequence matching library in (apart from difflib) to compare sequences of natural text? thanks -- http://mail.python.org/mailman/listinfo/python-list