From 45eed2de7de5c86dd130b6fa6220f2e8c3523687 Mon Sep 17 00:00:00 2001 From: Arunav Date: Mon, 18 Jun 2018 00:38:38 +0530 Subject: [PATCH 1/2] nltk_basics --- .../nltk_run.py-checkpoint.ipynb | 661 +++++++++++++++ .../nltk_test/nltk_data/corpora/stopwords.zip | Bin 0 -> 17481 bytes .../nltk_data/corpora/stopwords/README | 32 + .../nltk_data/corpora/stopwords/arabic | 248 ++++++ .../nltk_data/corpora/stopwords/azerbaijani | 165 ++++ .../nltk_data/corpora/stopwords/danish | 94 +++ .../nltk_data/corpora/stopwords/dutch | 101 +++ .../nltk_data/corpora/stopwords/english | 179 +++++ .../nltk_data/corpora/stopwords/finnish | 235 ++++++ .../nltk_data/corpora/stopwords/french | 155 ++++ .../nltk_data/corpora/stopwords/german | 231 ++++++ .../nltk_data/corpora/stopwords/greek | 265 ++++++ .../nltk_data/corpora/stopwords/hungarian | 199 +++++ .../nltk_data/corpora/stopwords/indonesian | 758 ++++++++++++++++++ .../nltk_data/corpora/stopwords/italian | 279 +++++++ .../nltk_data/corpora/stopwords/kazakh | 380 +++++++++ .../nltk_data/corpora/stopwords/nepali | 255 ++++++ .../nltk_data/corpora/stopwords/norwegian | 176 ++++ .../nltk_data/corpora/stopwords/portuguese | 203 +++++ .../nltk_data/corpora/stopwords/romanian | 356 ++++++++ .../nltk_data/corpora/stopwords/russian | 151 ++++ .../nltk_data/corpora/stopwords/spanish | 313 ++++++++ .../nltk_data/corpora/stopwords/swedish | 114 +++ .../nltk_data/corpora/stopwords/turkish | 53 ++ ArunavD/nltk_test/nltk_run.py.ipynb | 661 +++++++++++++++ 25 files changed, 6264 insertions(+) create mode 100644 ArunavD/nltk_test/.ipynb_checkpoints/nltk_run.py-checkpoint.ipynb create mode 100644 ArunavD/nltk_test/nltk_data/corpora/stopwords.zip create mode 100644 ArunavD/nltk_test/nltk_data/corpora/stopwords/README create mode 100644 ArunavD/nltk_test/nltk_data/corpora/stopwords/arabic create mode 100644 ArunavD/nltk_test/nltk_data/corpora/stopwords/azerbaijani create mode 100644 ArunavD/nltk_test/nltk_data/corpora/stopwords/danish create mode 100644 ArunavD/nltk_test/nltk_data/corpora/stopwords/dutch create mode 100644 ArunavD/nltk_test/nltk_data/corpora/stopwords/english create mode 100644 ArunavD/nltk_test/nltk_data/corpora/stopwords/finnish create mode 100644 ArunavD/nltk_test/nltk_data/corpora/stopwords/french create mode 100644 ArunavD/nltk_test/nltk_data/corpora/stopwords/german create mode 100644 ArunavD/nltk_test/nltk_data/corpora/stopwords/greek create mode 100644 ArunavD/nltk_test/nltk_data/corpora/stopwords/hungarian create mode 100644 ArunavD/nltk_test/nltk_data/corpora/stopwords/indonesian create mode 100644 ArunavD/nltk_test/nltk_data/corpora/stopwords/italian create mode 100644 ArunavD/nltk_test/nltk_data/corpora/stopwords/kazakh create mode 100644 ArunavD/nltk_test/nltk_data/corpora/stopwords/nepali create mode 100644 ArunavD/nltk_test/nltk_data/corpora/stopwords/norwegian create mode 100644 ArunavD/nltk_test/nltk_data/corpora/stopwords/portuguese create mode 100644 ArunavD/nltk_test/nltk_data/corpora/stopwords/romanian create mode 100644 ArunavD/nltk_test/nltk_data/corpora/stopwords/russian create mode 100644 ArunavD/nltk_test/nltk_data/corpora/stopwords/spanish create mode 100644 ArunavD/nltk_test/nltk_data/corpora/stopwords/swedish create mode 100644 ArunavD/nltk_test/nltk_data/corpora/stopwords/turkish create mode 100644 ArunavD/nltk_test/nltk_run.py.ipynb diff --git a/ArunavD/nltk_test/.ipynb_checkpoints/nltk_run.py-checkpoint.ipynb b/ArunavD/nltk_test/.ipynb_checkpoints/nltk_run.py-checkpoint.ipynb new file mode 100644 index 0000000..6fc4a32 --- /dev/null +++ b/ArunavD/nltk_test/.ipynb_checkpoints/nltk_run.py-checkpoint.ipynb @@ -0,0 +1,661 @@ +{ + "cells": [ + { + "cell_type": "code", + "execution_count": 1, + "metadata": {}, + "outputs": [], + "source": [ + "# Create dictionary from each words\n", + "\n", + "\n", + "from bs4 import BeautifulSoup\n", + "import urllib.request\n", + "import nltk" + ] + }, + { + "cell_type": "code", + "execution_count": 14, + "metadata": {}, + "outputs": [], + "source": [ + "# Requesting the webpage\n", + "\n", + "\n", + "response = urllib.request.urlopen('http://php.net/')" + ] + }, + { + "cell_type": "code", + "execution_count": 15, + "metadata": {}, + "outputs": [], + "source": [ + "# Reading contents of the page\n", + "\n", + "\n", + "html = response.read()" + ] + }, + { + "cell_type": "code", + "execution_count": 17, + "metadata": {}, + "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + "PHP: Hypertext PreprocessorDownloadsDocumentationGet InvolvedHelpGetting StartedIntroductionA simple tutorialLanguage ReferenceBasic syntaxTypesVariablesConstantsExpressionsOperatorsControl StructuresFunctionsClasses and ObjectsNamespacesErrorsExceptionsGeneratorsReferences ExplainedPredefined VariablesPredefined ExceptionsPredefined Interfaces and ClassesContext options and parametersSupported Protocols and WrappersSecurityIntroductionGeneral considerationsInstalled as CGI binaryInstalled as an Apache moduleSession SecurityFilesystem SecurityDatabase SecurityError ReportingUsing Register GlobalsUser Submitted DataMagic QuotesHiding PHPKeeping CurrentFeaturesHTTP authentication with PHPCookiesSessionsDealing with XFormsHandling file uploadsUsing remote filesConnection handlingPersistent Database ConnectionsSafe ModeCommand line usageGarbage CollectionDTrace Dynamic TracingFunction ReferenceAffecting PHP's BehaviourAudio Formats ManipulationAuthentication ServicesCommand Line Specific ExtensionsCompression and Archive ExtensionsCredit Card ProcessingCryptography ExtensionsDatabase ExtensionsDate and Time Related ExtensionsFile System Related ExtensionsHuman Language and Character Encoding SupportImage Processing and GenerationMail Related ExtensionsMathematical ExtensionsNon-Text MIME OutputProcess Control ExtensionsOther Basic ExtensionsOther ServicesSearch Engine ExtensionsServer Specific ExtensionsSession ExtensionsText ProcessingVariable and Type Related ExtensionsWeb ServicesWindows Only ExtensionsXML ManipulationGUI ExtensionsKeyboard Shortcuts?This helpjNext menu itemkPrevious menu itemg pPrevious man pageg nNext man pageGScroll to bottomg gScroll to topg hGoto homepageg sGoto search(current page)/Focus search boxPHP is a popular general-purpose scripting language that is especially suited to web development.Fast, flexible and pragmatic, PHP powers everything from your blog to the most popular websites in the world.Download5.6.36·Release Notes·Upgrading7.0.30·Release Notes·Upgrading7.1.18·Release Notes·Upgrading7.2.6·Release Notes·Upgrading07 Jun 2018PHP 7.3.0 alpha 1 ReleasedPHP team is glad to announce the release of the first PHP 7.3.0 version, PHP 7.3.0 Alpha 1. \n", + "\t This starts the PHP 7.3 release cycle, the rough outline of which is specified in thePHP Wiki.For source downloads of PHP 7.3.0 Alpha 1 please visit thedownload page.Please carefully test this version and report any issues found in thebug reporting system.Please DO NOT use this version in production, it is an early test version.For more information on the new features and other changes, you can read theNEWSfile,\n", + "\t or theUPGRADINGfile for a complete list of upgrading notes. These files can also be found in the release archive.The next release would be Alpha 2, planned for June 21.The signatures for the release can be found inthe manifestor onthe QA site.Thank you for helping us make PHP better.25 May 2018PHP 7.1.18 ReleasedThe PHP development team announces the immediate availability of PHP\n", + " 7.1.18.\n", + " \n", + " All PHP 7.1 users are encouraged to upgrade to this version.For source downloads of PHP 7.1.18 please visit ourdownloads page,\n", + " Windows source and binaries can be found onwindows.php.net/download/.\n", + " The list of changes is recorded in theChangeLog.24 May 2018PHP 7.2.6 ReleasedThe PHP development team announces the immediate availability of PHP 7.2.6.\n", + " This is a primarily a bugfix release which includes a memory corruption fix for EXIF.PHP 7.2 users are encouraged to upgrade to this version.For source downloads of PHP 7.2.6 please visit ourdownloads page,\n", + " Windows source and binaries can be found onwindows.php.net/download/.\n", + " The list of changes is recorded in theChangeLog.26 Apr 2018PHP 5.6.36 ReleasedThe PHP development team announces the immediate availability of PHP\n", + " 5.6.36. This is a security release. Several security bugs have been fixed\n", + " in this release.\n", + "\n", + " All PHP 5.6 users are encouraged to upgrade to this version.For source downloads of PHP 5.6.36 please visit ourdownloads page,\n", + " Windows source and binaries can be found onwindows.php.net/download/.\n", + " The list of changes is recorded in theChangeLog.26 Apr 2018PHP 7.1.17 ReleasedThe PHP development team announces the immediate availability of PHP\n", + " 7.1.17. This is a security fix release, containing many bugfixes.\n", + " \n", + " All PHP 7.1 users are encouraged to upgrade to this version.For source downloads of PHP 7.1.17 please visit ourdownloads page,\n", + " Windows source and binaries can be found onwindows.php.net/download/.\n", + " The list of changes is recorded in theChangeLog.26 Apr 2018PHP 7.0.30 ReleasedThe PHP development team announces the immediate availability of PHP\n", + "\t7.0.30. This is a security release. Several security bugs have been fixed\n", + "\tin this release.\n", + " \n", + " All PHP 7.0 users are encouraged to upgrade to this version.For source downloads of PHP 7.0.30 please visit ourdownloads page,\n", + " Windows source and binaries can be found onwindows.php.net/download/.\n", + " The list of changes is recorded in theChangeLog.26 Apr 2018PHP 7.2.5 ReleasedThe PHP development team announces the immediate availability of PHP\n", + " 7.2.5. This is a security release which also contains several minor bug fixes.All PHP 7.2 users are encouraged to upgrade to this version.For source downloads of PHP 7.2.5 please visit ourdownloads page,\n", + " Windows source and binaries can be found onwindows.php.net/download/.\n", + " The list of changes is recorded in theChangeLog.01 Feb 2018PHP 7.2.2 ReleasedThe PHP development team announces the immediate availability of PHP\n", + " 7.2.2. This is a bugfix release, with several bug fixes included.All PHP 7.2 users are encouraged to upgrade to this version.For source downloads of PHP 7.2.2 please visit ourdownloads page,\n", + " Windows source and binaries can be found onwindows.php.net/download/.\n", + " The list of changes is recorded in theChangeLog.12 Oct 2017PHP 7.2.0 Release Candidate 4 ReleasedThe PHP development team announces the immediate availability of PHP 7.2.0 RC4.\n", + " This release is the fourth Release Candidate for 7.2.0.\n", + " All users of PHP are encouraged to test this version carefully, and report any bugs\n", + " and incompatibilities in thebug tracking system.THIS IS A DEVELOPMENT PREVIEW - DO NOT USE IT IN PRODUCTION!For more information on the new features and other changes, you can read theNEWSfile,\n", + " or theUPGRADINGfile for a complete list of upgrading notes. These files can also be found in the release archive.For source downloads of PHP 7.2.0 Release Candidate 4 please visit thedownloadpage,\n", + " Windows sources and binaries can be found atwindows.php.net/qa/.The next Release Candidate will be announced on the 26th of October.\n", + " You can also read the full list of planned releases onour wiki.Thank you for helping us make PHP better.28 Sep 2017PHP 7.2.0 Release Candidate 3 ReleasedThe PHP development team announces the immediate availability of PHP 7.2.0 RC3.\n", + " This release is the third Release Candidate for 7.2.0.\n", + " All users of PHP are encouraged to test this version carefully, and report any bugs\n", + " and incompatibilities in thebug tracking system.THIS IS A DEVELOPMENT PREVIEW - DO NOT USE IT IN PRODUCTION!For more information on the new features and other changes, you can read theNEWSfile,\n", + " or theUPGRADINGfile for a complete list of upgrading notes. These files can also be found in the release archive.For source downloads of PHP 7.2.0 Release Candidate 3 please visit thedownloadpage,\n", + " Windows sources and binaries can be found atwindows.php.net/qa/.The next Release Candidate will be announced on the 12th of October.\n", + " You can also read the full list of planned releases onour wiki.Thank you for helping us make PHP better.31 Aug 2017PHP 7.2.0 Release Candidate 1 ReleasedThe PHP development team announces the immediate availability of PHP 7.2.0 Release\n", + " Candidate 1. This release is the first Release Candidate for 7.2.0.\n", + " All users of PHP are encouraged to test this version carefully, and report any bugs\n", + " and incompatibilities in thebug tracking system.THIS IS A DEVELOPMENT PREVIEW - DO NOT USE IT IN PRODUCTION!For more information on the new features and other changes, you can read theNEWSfile,\n", + " or theUPGRADINGfile for a complete list of upgrading notes. These files can also be found in the release archive.For source downloads of PHP 7.2.0 Release Candidate 1 please visit thedownloadpage,\n", + " Windows sources and binaries can be found atwindows.php.net/qa/.The second Release Candidate will be released on the 14th of September.\n", + " You can also read the full list of planned releases onour wiki.Thank you for helping us make PHP better.17 Aug 2017PHP 7.2.0 Beta 3 ReleasedThe PHP development team announces the immediate availability of PHP 7.2.0 Beta 3.\n", + " This release is the third and final beta for 7.2.0. All users of PHP are encouraged\n", + " to test this version carefully, and report any bugs and incompatibilities in thebug tracking system.THIS IS A DEVELOPMENT PREVIEW - DO NOT USE IT IN PRODUCTION!For more information on the new features and other changes, you can read theNEWSfile,\n", + " or theUPGRADINGfile for a complete list of upgrading notes. These files can also be found in the release archive.For source downloads of PHP 7.2.0 Beta 3 please visit thedownloadpage,\n", + " Windows sources and binaries can be found atwindows.php.net/qa/.The first Release Candidate will be released on the 31th of August.\n", + " You can also read the full list of planned releases onour wiki.Thank you for helping us make PHP better.06 Jul 2017PHP 7.2.0 Alpha 3 ReleasedThe PHP development team announces the immediate availability of PHP 7.2.0 Alpha 3.\n", + " This release contains fixes and improvements relative to Alpha 2.\n", + " All users of PHP are encouraged to test this version carefully,\n", + " and report any bugs and incompatibilities in thebug tracking system.THIS IS A DEVELOPMENT PREVIEW - DO NOT USE IT IN PRODUCTION!For information on new features and other changes, you can read theNEWSfile,\n", + " or theUPGRADINGfile\n", + " for a complete list of upgrading notes. These files can also be found in the release archive.For source downloads of PHP 7.2.0 Alpha 3 please visit thedownloadpage,\n", + " Windows sources and binaries can be found onwindows.php.net/qa/.The first beta will be released on the 20th of July. You can also read the full list of planned releases on ourwiki.Thank you for helping us make PHP better.Older News EntriesConferences calling for papersphp[world] 2018Upcoming conferencesLaravelConf Taiwan 2018Mid-Atlantic Developer ConferenceInternational PHP Conference 2018 - Fall EditionCoderCruise 2018 - The Bahamas!User Group EventsSpecial ThanksSocial media@official_phpCopyright © 2001-2018 The PHP GroupMy PHP.netContactOther PHP.net sitesMirror sitesPrivacy policy\n" + ] + } + ], + "source": [ + "# Parsing the HTML Content\n", + "\n", + "\n", + "soup = BeautifulSoup(html,\"html5lib\")\n", + "text = soup.get_text(strip=True)\n", + "print(text)" + ] + }, + { + "cell_type": "code", + "execution_count": 18, + "metadata": {}, + "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + "['PHP:', 'Hypertext', 'PreprocessorDownloadsDocumentationGet', 'InvolvedHelpGetting', 'StartedIntroductionA', 'simple', 'tutorialLanguage', 'ReferenceBasic', 'syntaxTypesVariablesConstantsExpressionsOperatorsControl', 'StructuresFunctionsClasses', 'and', 'ObjectsNamespacesErrorsExceptionsGeneratorsReferences', 'ExplainedPredefined', 'VariablesPredefined', 'ExceptionsPredefined', 'Interfaces', 'and', 'ClassesContext', 'options', 'and', 'parametersSupported', 'Protocols', 'and', 'WrappersSecurityIntroductionGeneral', 'considerationsInstalled', 'as', 'CGI', 'binaryInstalled', 'as', 'an', 'Apache', 'moduleSession', 'SecurityFilesystem', 'SecurityDatabase', 'SecurityError', 'ReportingUsing', 'Register', 'GlobalsUser', 'Submitted', 'DataMagic', 'QuotesHiding', 'PHPKeeping', 'CurrentFeaturesHTTP', 'authentication', 'with', 'PHPCookiesSessionsDealing', 'with', 'XFormsHandling', 'file', 'uploadsUsing', 'remote', 'filesConnection', 'handlingPersistent', 'Database', 'ConnectionsSafe', 'ModeCommand', 'line', 'usageGarbage', 'CollectionDTrace', 'Dynamic', 'TracingFunction', 'ReferenceAffecting', \"PHP's\", 'BehaviourAudio', 'Formats', 'ManipulationAuthentication', 'ServicesCommand', 'Line', 'Specific', 'ExtensionsCompression', 'and', 'Archive', 'ExtensionsCredit', 'Card', 'ProcessingCryptography', 'ExtensionsDatabase', 'ExtensionsDate', 'and', 'Time', 'Related', 'ExtensionsFile', 'System', 'Related', 'ExtensionsHuman', 'Language', 'and', 'Character', 'Encoding', 'SupportImage', 'Processing', 'and', 'GenerationMail', 'Related', 'ExtensionsMathematical', 'ExtensionsNon-Text', 'MIME', 'OutputProcess', 'Control', 'ExtensionsOther', 'Basic', 'ExtensionsOther', 'ServicesSearch', 'Engine', 'ExtensionsServer', 'Specific', 'ExtensionsSession', 'ExtensionsText', 'ProcessingVariable', 'and', 'Type', 'Related', 'ExtensionsWeb', 'ServicesWindows', 'Only', 'ExtensionsXML', 'ManipulationGUI', 'ExtensionsKeyboard', 'Shortcuts?This', 'helpjNext', 'menu', 'itemkPrevious', 'menu', 'itemg', 'pPrevious', 'man', 'pageg', 'nNext', 'man', 'pageGScroll', 'to', 'bottomg', 'gScroll', 'to', 'topg', 'hGoto', 'homepageg', 'sGoto', 'search(current', 'page)/Focus', 'search', 'boxPHP', 'is', 'a', 'popular', 'general-purpose', 'scripting', 'language', 'that', 'is', 'especially', 'suited', 'to', 'web', 'development.Fast,', 'flexible', 'and', 'pragmatic,', 'PHP', 'powers', 'everything', 'from', 'your', 'blog', 'to', 'the', 'most', 'popular', 'websites', 'in', 'the', 'world.Download5.6.36·Release', 'Notes·Upgrading7.0.30·Release', 'Notes·Upgrading7.1.18·Release', 'Notes·Upgrading7.2.6·Release', 'Notes·Upgrading07', 'Jun', '2018PHP', '7.3.0', 'alpha', '1', 'ReleasedPHP', 'team', 'is', 'glad', 'to', 'announce', 'the', 'release', 'of', 'the', 'first', 'PHP', '7.3.0', 'version,', 'PHP', '7.3.0', 'Alpha', '1.', 'This', 'starts', 'the', 'PHP', '7.3', 'release', 'cycle,', 'the', 'rough', 'outline', 'of', 'which', 'is', 'specified', 'in', 'thePHP', 'Wiki.For', 'source', 'downloads', 'of', 'PHP', '7.3.0', 'Alpha', '1', 'please', 'visit', 'thedownload', 'page.Please', 'carefully', 'test', 'this', 'version', 'and', 'report', 'any', 'issues', 'found', 'in', 'thebug', 'reporting', 'system.Please', 'DO', 'NOT', 'use', 'this', 'version', 'in', 'production,', 'it', 'is', 'an', 'early', 'test', 'version.For', 'more', 'information', 'on', 'the', 'new', 'features', 'and', 'other', 'changes,', 'you', 'can', 'read', 'theNEWSfile,', 'or', 'theUPGRADINGfile', 'for', 'a', 'complete', 'list', 'of', 'upgrading', 'notes.', 'These', 'files', 'can', 'also', 'be', 'found', 'in', 'the', 'release', 'archive.The', 'next', 'release', 'would', 'be', 'Alpha', '2,', 'planned', 'for', 'June', '21.The', 'signatures', 'for', 'the', 'release', 'can', 'be', 'found', 'inthe', 'manifestor', 'onthe', 'QA', 'site.Thank', 'you', 'for', 'helping', 'us', 'make', 'PHP', 'better.25', 'May', '2018PHP', '7.1.18', 'ReleasedThe', 'PHP', 'development', 'team', 'announces', 'the', 'immediate', 'availability', 'of', 'PHP', '7.1.18.', 'All', 'PHP', '7.1', 'users', 'are', 'encouraged', 'to', 'upgrade', 'to', 'this', 'version.For', 'source', 'downloads', 'of', 'PHP', '7.1.18', 'please', 'visit', 'ourdownloads', 'page,', 'Windows', 'source', 'and', 'binaries', 'can', 'be', 'found', 'onwindows.php.net/download/.', 'The', 'list', 'of', 'changes', 'is', 'recorded', 'in', 'theChangeLog.24', 'May', '2018PHP', '7.2.6', 'ReleasedThe', 'PHP', 'development', 'team', 'announces', 'the', 'immediate', 'availability', 'of', 'PHP', '7.2.6.', 'This', 'is', 'a', 'primarily', 'a', 'bugfix', 'release', 'which', 'includes', 'a', 'memory', 'corruption', 'fix', 'for', 'EXIF.PHP', '7.2', 'users', 'are', 'encouraged', 'to', 'upgrade', 'to', 'this', 'version.For', 'source', 'downloads', 'of', 'PHP', '7.2.6', 'please', 'visit', 'ourdownloads', 'page,', 'Windows', 'source', 'and', 'binaries', 'can', 'be', 'found', 'onwindows.php.net/download/.', 'The', 'list', 'of', 'changes', 'is', 'recorded', 'in', 'theChangeLog.26', 'Apr', '2018PHP', '5.6.36', 'ReleasedThe', 'PHP', 'development', 'team', 'announces', 'the', 'immediate', 'availability', 'of', 'PHP', '5.6.36.', 'This', 'is', 'a', 'security', 'release.', 'Several', 'security', 'bugs', 'have', 'been', 'fixed', 'in', 'this', 'release.', 'All', 'PHP', '5.6', 'users', 'are', 'encouraged', 'to', 'upgrade', 'to', 'this', 'version.For', 'source', 'downloads', 'of', 'PHP', '5.6.36', 'please', 'visit', 'ourdownloads', 'page,', 'Windows', 'source', 'and', 'binaries', 'can', 'be', 'found', 'onwindows.php.net/download/.', 'The', 'list', 'of', 'changes', 'is', 'recorded', 'in', 'theChangeLog.26', 'Apr', '2018PHP', '7.1.17', 'ReleasedThe', 'PHP', 'development', 'team', 'announces', 'the', 'immediate', 'availability', 'of', 'PHP', '7.1.17.', 'This', 'is', 'a', 'security', 'fix', 'release,', 'containing', 'many', 'bugfixes.', 'All', 'PHP', '7.1', 'users', 'are', 'encouraged', 'to', 'upgrade', 'to', 'this', 'version.For', 'source', 'downloads', 'of', 'PHP', '7.1.17', 'please', 'visit', 'ourdownloads', 'page,', 'Windows', 'source', 'and', 'binaries', 'can', 'be', 'found', 'onwindows.php.net/download/.', 'The', 'list', 'of', 'changes', 'is', 'recorded', 'in', 'theChangeLog.26', 'Apr', '2018PHP', '7.0.30', 'ReleasedThe', 'PHP', 'development', 'team', 'announces', 'the', 'immediate', 'availability', 'of', 'PHP', '7.0.30.', 'This', 'is', 'a', 'security', 'release.', 'Several', 'security', 'bugs', 'have', 'been', 'fixed', 'in', 'this', 'release.', 'All', 'PHP', '7.0', 'users', 'are', 'encouraged', 'to', 'upgrade', 'to', 'this', 'version.For', 'source', 'downloads', 'of', 'PHP', '7.0.30', 'please', 'visit', 'ourdownloads', 'page,', 'Windows', 'source', 'and', 'binaries', 'can', 'be', 'found', 'onwindows.php.net/download/.', 'The', 'list', 'of', 'changes', 'is', 'recorded', 'in', 'theChangeLog.26', 'Apr', '2018PHP', '7.2.5', 'ReleasedThe', 'PHP', 'development', 'team', 'announces', 'the', 'immediate', 'availability', 'of', 'PHP', '7.2.5.', 'This', 'is', 'a', 'security', 'release', 'which', 'also', 'contains', 'several', 'minor', 'bug', 'fixes.All', 'PHP', '7.2', 'users', 'are', 'encouraged', 'to', 'upgrade', 'to', 'this', 'version.For', 'source', 'downloads', 'of', 'PHP', '7.2.5', 'please', 'visit', 'ourdownloads', 'page,', 'Windows', 'source', 'and', 'binaries', 'can', 'be', 'found', 'onwindows.php.net/download/.', 'The', 'list', 'of', 'changes', 'is', 'recorded', 'in', 'theChangeLog.01', 'Feb', '2018PHP', '7.2.2', 'ReleasedThe', 'PHP', 'development', 'team', 'announces', 'the', 'immediate', 'availability', 'of', 'PHP', '7.2.2.', 'This', 'is', 'a', 'bugfix', 'release,', 'with', 'several', 'bug', 'fixes', 'included.All', 'PHP', '7.2', 'users', 'are', 'encouraged', 'to', 'upgrade', 'to', 'this', 'version.For', 'source', 'downloads', 'of', 'PHP', '7.2.2', 'please', 'visit', 'ourdownloads', 'page,', 'Windows', 'source', 'and', 'binaries', 'can', 'be', 'found', 'onwindows.php.net/download/.', 'The', 'list', 'of', 'changes', 'is', 'recorded', 'in', 'theChangeLog.12', 'Oct', '2017PHP', '7.2.0', 'Release', 'Candidate', '4', 'ReleasedThe', 'PHP', 'development', 'team', 'announces', 'the', 'immediate', 'availability', 'of', 'PHP', '7.2.0', 'RC4.', 'This', 'release', 'is', 'the', 'fourth', 'Release', 'Candidate', 'for', '7.2.0.', 'All', 'users', 'of', 'PHP', 'are', 'encouraged', 'to', 'test', 'this', 'version', 'carefully,', 'and', 'report', 'any', 'bugs', 'and', 'incompatibilities', 'in', 'thebug', 'tracking', 'system.THIS', 'IS', 'A', 'DEVELOPMENT', 'PREVIEW', '-', 'DO', 'NOT', 'USE', 'IT', 'IN', 'PRODUCTION!For', 'more', 'information', 'on', 'the', 'new', 'features', 'and', 'other', 'changes,', 'you', 'can', 'read', 'theNEWSfile,', 'or', 'theUPGRADINGfile', 'for', 'a', 'complete', 'list', 'of', 'upgrading', 'notes.', 'These', 'files', 'can', 'also', 'be', 'found', 'in', 'the', 'release', 'archive.For', 'source', 'downloads', 'of', 'PHP', '7.2.0', 'Release', 'Candidate', '4', 'please', 'visit', 'thedownloadpage,', 'Windows', 'sources', 'and', 'binaries', 'can', 'be', 'found', 'atwindows.php.net/qa/.The', 'next', 'Release', 'Candidate', 'will', 'be', 'announced', 'on', 'the', '26th', 'of', 'October.', 'You', 'can', 'also', 'read', 'the', 'full', 'list', 'of', 'planned', 'releases', 'onour', 'wiki.Thank', 'you', 'for', 'helping', 'us', 'make', 'PHP', 'better.28', 'Sep', '2017PHP', '7.2.0', 'Release', 'Candidate', '3', 'ReleasedThe', 'PHP', 'development', 'team', 'announces', 'the', 'immediate', 'availability', 'of', 'PHP', '7.2.0', 'RC3.', 'This', 'release', 'is', 'the', 'third', 'Release', 'Candidate', 'for', '7.2.0.', 'All', 'users', 'of', 'PHP', 'are', 'encouraged', 'to', 'test', 'this', 'version', 'carefully,', 'and', 'report', 'any', 'bugs', 'and', 'incompatibilities', 'in', 'thebug', 'tracking', 'system.THIS', 'IS', 'A', 'DEVELOPMENT', 'PREVIEW', '-', 'DO', 'NOT', 'USE', 'IT', 'IN', 'PRODUCTION!For', 'more', 'information', 'on', 'the', 'new', 'features', 'and', 'other', 'changes,', 'you', 'can', 'read', 'theNEWSfile,', 'or', 'theUPGRADINGfile', 'for', 'a', 'complete', 'list', 'of', 'upgrading', 'notes.', 'These', 'files', 'can', 'also', 'be', 'found', 'in', 'the', 'release', 'archive.For', 'source', 'downloads', 'of', 'PHP', '7.2.0', 'Release', 'Candidate', '3', 'please', 'visit', 'thedownloadpage,', 'Windows', 'sources', 'and', 'binaries', 'can', 'be', 'found', 'atwindows.php.net/qa/.The', 'next', 'Release', 'Candidate', 'will', 'be', 'announced', 'on', 'the', '12th', 'of', 'October.', 'You', 'can', 'also', 'read', 'the', 'full', 'list', 'of', 'planned', 'releases', 'onour', 'wiki.Thank', 'you', 'for', 'helping', 'us', 'make', 'PHP', 'better.31', 'Aug', '2017PHP', '7.2.0', 'Release', 'Candidate', '1', 'ReleasedThe', 'PHP', 'development', 'team', 'announces', 'the', 'immediate', 'availability', 'of', 'PHP', '7.2.0', 'Release', 'Candidate', '1.', 'This', 'release', 'is', 'the', 'first', 'Release', 'Candidate', 'for', '7.2.0.', 'All', 'users', 'of', 'PHP', 'are', 'encouraged', 'to', 'test', 'this', 'version', 'carefully,', 'and', 'report', 'any', 'bugs', 'and', 'incompatibilities', 'in', 'thebug', 'tracking', 'system.THIS', 'IS', 'A', 'DEVELOPMENT', 'PREVIEW', '-', 'DO', 'NOT', 'USE', 'IT', 'IN', 'PRODUCTION!For', 'more', 'information', 'on', 'the', 'new', 'features', 'and', 'other', 'changes,', 'you', 'can', 'read', 'theNEWSfile,', 'or', 'theUPGRADINGfile', 'for', 'a', 'complete', 'list', 'of', 'upgrading', 'notes.', 'These', 'files', 'can', 'also', 'be', 'found', 'in', 'the', 'release', 'archive.For', 'source', 'downloads', 'of', 'PHP', '7.2.0', 'Release', 'Candidate', '1', 'please', 'visit', 'thedownloadpage,', 'Windows', 'sources', 'and', 'binaries', 'can', 'be', 'found', 'atwindows.php.net/qa/.The', 'second', 'Release', 'Candidate', 'will', 'be', 'released', 'on', 'the', '14th', 'of', 'September.', 'You', 'can', 'also', 'read', 'the', 'full', 'list', 'of', 'planned', 'releases', 'onour', 'wiki.Thank', 'you', 'for', 'helping', 'us', 'make', 'PHP', 'better.17', 'Aug', '2017PHP', '7.2.0', 'Beta', '3', 'ReleasedThe', 'PHP', 'development', 'team', 'announces', 'the', 'immediate', 'availability', 'of', 'PHP', '7.2.0', 'Beta', '3.', 'This', 'release', 'is', 'the', 'third', 'and', 'final', 'beta', 'for', '7.2.0.', 'All', 'users', 'of', 'PHP', 'are', 'encouraged', 'to', 'test', 'this', 'version', 'carefully,', 'and', 'report', 'any', 'bugs', 'and', 'incompatibilities', 'in', 'thebug', 'tracking', 'system.THIS', 'IS', 'A', 'DEVELOPMENT', 'PREVIEW', '-', 'DO', 'NOT', 'USE', 'IT', 'IN', 'PRODUCTION!For', 'more', 'information', 'on', 'the', 'new', 'features', 'and', 'other', 'changes,', 'you', 'can', 'read', 'theNEWSfile,', 'or', 'theUPGRADINGfile', 'for', 'a', 'complete', 'list', 'of', 'upgrading', 'notes.', 'These', 'files', 'can', 'also', 'be', 'found', 'in', 'the', 'release', 'archive.For', 'source', 'downloads', 'of', 'PHP', '7.2.0', 'Beta', '3', 'please', 'visit', 'thedownloadpage,', 'Windows', 'sources', 'and', 'binaries', 'can', 'be', 'found', 'atwindows.php.net/qa/.The', 'first', 'Release', 'Candidate', 'will', 'be', 'released', 'on', 'the', '31th', 'of', 'August.', 'You', 'can', 'also', 'read', 'the', 'full', 'list', 'of', 'planned', 'releases', 'onour', 'wiki.Thank', 'you', 'for', 'helping', 'us', 'make', 'PHP', 'better.06', 'Jul', '2017PHP', '7.2.0', 'Alpha', '3', 'ReleasedThe', 'PHP', 'development', 'team', 'announces', 'the', 'immediate', 'availability', 'of', 'PHP', '7.2.0', 'Alpha', '3.', 'This', 'release', 'contains', 'fixes', 'and', 'improvements', 'relative', 'to', 'Alpha', '2.', 'All', 'users', 'of', 'PHP', 'are', 'encouraged', 'to', 'test', 'this', 'version', 'carefully,', 'and', 'report', 'any', 'bugs', 'and', 'incompatibilities', 'in', 'thebug', 'tracking', 'system.THIS', 'IS', 'A', 'DEVELOPMENT', 'PREVIEW', '-', 'DO', 'NOT', 'USE', 'IT', 'IN', 'PRODUCTION!For', 'information', 'on', 'new', 'features', 'and', 'other', 'changes,', 'you', 'can', 'read', 'theNEWSfile,', 'or', 'theUPGRADINGfile', 'for', 'a', 'complete', 'list', 'of', 'upgrading', 'notes.', 'These', 'files', 'can', 'also', 'be', 'found', 'in', 'the', 'release', 'archive.For', 'source', 'downloads', 'of', 'PHP', '7.2.0', 'Alpha', '3', 'please', 'visit', 'thedownloadpage,', 'Windows', 'sources', 'and', 'binaries', 'can', 'be', 'found', 'onwindows.php.net/qa/.The', 'first', 'beta', 'will', 'be', 'released', 'on', 'the', '20th', 'of', 'July.', 'You', 'can', 'also', 'read', 'the', 'full', 'list', 'of', 'planned', 'releases', 'on', 'ourwiki.Thank', 'you', 'for', 'helping', 'us', 'make', 'PHP', 'better.Older', 'News', 'EntriesConferences', 'calling', 'for', 'papersphp[world]', '2018Upcoming', 'conferencesLaravelConf', 'Taiwan', '2018Mid-Atlantic', 'Developer', 'ConferenceInternational', 'PHP', 'Conference', '2018', '-', 'Fall', 'EditionCoderCruise', '2018', '-', 'The', 'Bahamas!User', 'Group', 'EventsSpecial', 'ThanksSocial', 'media@official_phpCopyright', '©', '2001-2018', 'The', 'PHP', 'GroupMy', 'PHP.netContactOther', 'PHP.net', 'sitesMirror', 'sitesPrivacy', 'policy']\n" + ] + } + ], + "source": [ + "# the main work starts....\n", + "\n", + "\n", + "tokens = [t for t in text.split()]\n", + "print(tokens)" + ] + }, + { + "cell_type": "code", + "execution_count": 19, + "metadata": {}, + "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + "PHP::1\n", + "Hypertext:1\n", + "PreprocessorDownloadsDocumentationGet:1\n", + "InvolvedHelpGetting:1\n", + "StartedIntroductionA:1\n", + "simple:1\n", + "tutorialLanguage:1\n", + "ReferenceBasic:1\n", + "syntaxTypesVariablesConstantsExpressionsOperatorsControl:1\n", + "StructuresFunctionsClasses:1\n", + "and:41\n", + "ObjectsNamespacesErrorsExceptionsGeneratorsReferences:1\n", + "ExplainedPredefined:1\n", + "VariablesPredefined:1\n", + "ExceptionsPredefined:1\n", + "Interfaces:1\n", + "ClassesContext:1\n", + "options:1\n", + "parametersSupported:1\n", + "Protocols:1\n", + "WrappersSecurityIntroductionGeneral:1\n", + "considerationsInstalled:1\n", + "as:2\n", + "CGI:1\n", + "binaryInstalled:1\n", + "an:2\n", + "Apache:1\n", + "moduleSession:1\n", + "SecurityFilesystem:1\n", + "SecurityDatabase:1\n", + "SecurityError:1\n", + "ReportingUsing:1\n", + "Register:1\n", + "GlobalsUser:1\n", + "Submitted:1\n", + "DataMagic:1\n", + "QuotesHiding:1\n", + "PHPKeeping:1\n", + "CurrentFeaturesHTTP:1\n", + "authentication:1\n", + "with:3\n", + "PHPCookiesSessionsDealing:1\n", + "XFormsHandling:1\n", + "file:1\n", + "uploadsUsing:1\n", + "remote:1\n", + "filesConnection:1\n", + "handlingPersistent:1\n", + "Database:1\n", + "ConnectionsSafe:1\n", + "ModeCommand:1\n", + "line:1\n", + "usageGarbage:1\n", + "CollectionDTrace:1\n", + "Dynamic:1\n", + "TracingFunction:1\n", + "ReferenceAffecting:1\n", + "PHP's:1\n", + "BehaviourAudio:1\n", + "Formats:1\n", + "ManipulationAuthentication:1\n", + "ServicesCommand:1\n", + "Line:1\n", + "Specific:2\n", + "ExtensionsCompression:1\n", + "Archive:1\n", + "ExtensionsCredit:1\n", + "Card:1\n", + "ProcessingCryptography:1\n", + "ExtensionsDatabase:1\n", + "ExtensionsDate:1\n", + "Time:1\n", + "Related:4\n", + "ExtensionsFile:1\n", + "System:1\n", + "ExtensionsHuman:1\n", + "Language:1\n", + "Character:1\n", + "Encoding:1\n", + "SupportImage:1\n", + "Processing:1\n", + "GenerationMail:1\n", + "ExtensionsMathematical:1\n", + "ExtensionsNon-Text:1\n", + "MIME:1\n", + "OutputProcess:1\n", + "Control:1\n", + "ExtensionsOther:2\n", + "Basic:1\n", + "ServicesSearch:1\n", + "Engine:1\n", + "ExtensionsServer:1\n", + "ExtensionsSession:1\n", + "ExtensionsText:1\n", + "ProcessingVariable:1\n", + "Type:1\n", + "ExtensionsWeb:1\n", + "ServicesWindows:1\n", + "Only:1\n", + "ExtensionsXML:1\n", + "ManipulationGUI:1\n", + "ExtensionsKeyboard:1\n", + "Shortcuts?This:1\n", + "helpjNext:1\n", + "menu:2\n", + "itemkPrevious:1\n", + "itemg:1\n", + "pPrevious:1\n", + "man:2\n", + "pageg:1\n", + "nNext:1\n", + "pageGScroll:1\n", + "to:25\n", + "bottomg:1\n", + "gScroll:1\n", + "topg:1\n", + "hGoto:1\n", + "homepageg:1\n", + "sGoto:1\n", + "search(current:1\n", + "page)/Focus:1\n", + "search:1\n", + "boxPHP:1\n", + "is:22\n", + "a:15\n", + "popular:2\n", + "general-purpose:1\n", + "scripting:1\n", + "language:1\n", + "that:1\n", + "especially:1\n", + "suited:1\n", + "web:1\n", + "development.Fast,:1\n", + "flexible:1\n", + "pragmatic,:1\n", + "PHP:60\n", + "powers:1\n", + "everything:1\n", + "from:1\n", + "your:1\n", + "blog:1\n", + "the:44\n", + "most:1\n", + "websites:1\n", + "in:24\n", + "world.Download5.6.36·Release:1\n", + "Notes·Upgrading7.0.30·Release:1\n", + "Notes·Upgrading7.1.18·Release:1\n", + "Notes·Upgrading7.2.6·Release:1\n", + "Notes·Upgrading07:1\n", + "Jun:1\n", + "2018PHP:8\n", + "7.3.0:4\n", + "alpha:1\n", + "1:4\n", + "ReleasedPHP:1\n", + "team:13\n", + "glad:1\n", + "announce:1\n", + "release:17\n", + "of:55\n", + "first:4\n", + "version,:1\n", + "Alpha:7\n", + "1.:2\n", + "This:12\n", + "starts:1\n", + "7.3:1\n", + "cycle,:1\n", + "rough:1\n", + "outline:1\n", + "which:3\n", + "specified:1\n", + "thePHP:1\n", + "Wiki.For:1\n", + "source:20\n", + "downloads:13\n", + "please:13\n", + "visit:13\n", + "thedownload:1\n", + "page.Please:1\n", + "carefully:1\n", + "test:7\n", + "this:16\n", + "version:7\n", + "report:6\n", + "any:6\n", + "issues:1\n", + "found:20\n", + "thebug:6\n", + "reporting:1\n", + "system.Please:1\n", + "DO:6\n", + "NOT:6\n", + "use:1\n", + "production,:1\n", + "it:1\n", + "early:1\n", + "version.For:8\n", + "more:5\n", + "information:6\n", + "on:12\n", + "new:6\n", + "features:6\n", + "other:6\n", + "changes,:6\n", + "you:12\n", + "can:30\n", + "read:11\n", + "theNEWSfile,:6\n", + "or:6\n", + "theUPGRADINGfile:6\n", + "for:20\n", + "complete:6\n", + "list:18\n", + "upgrading:6\n", + "notes.:6\n", + "These:6\n", + "files:6\n", + "also:12\n", + "be:25\n", + "archive.The:1\n", + "next:3\n", + "would:1\n", + "2,:1\n", + "planned:6\n", + "June:1\n", + "21.The:1\n", + "signatures:1\n", + "inthe:1\n", + "manifestor:1\n", + "onthe:1\n", + "QA:1\n", + "site.Thank:1\n", + "helping:6\n", + "us:6\n", + "make:6\n", + "better.25:1\n", + "May:2\n", + "7.1.18:2\n", + "ReleasedThe:12\n", + "development:12\n", + "announces:12\n", + "immediate:12\n", + "availability:12\n", + "7.1.18.:1\n", + "All:9\n", + "7.1:2\n", + "users:12\n", + "are:12\n", + "encouraged:12\n", + "upgrade:7\n", + "ourdownloads:7\n", + "page,:7\n", + "Windows:12\n", + "binaries:12\n", + "onwindows.php.net/download/.:7\n", + "The:9\n", + "changes:7\n", + "recorded:7\n", + "theChangeLog.24:1\n", + "7.2.6:2\n", + "7.2.6.:1\n", + "primarily:1\n", + "bugfix:2\n", + "includes:1\n", + "memory:1\n", + "corruption:1\n", + "fix:2\n", + "EXIF.PHP:1\n", + "7.2:3\n", + "theChangeLog.26:4\n", + "Apr:4\n", + "5.6.36:2\n", + "5.6.36.:1\n", + "security:6\n", + "release.:4\n", + "Several:2\n", + "bugs:7\n", + "have:2\n", + "been:2\n", + "fixed:2\n", + "5.6:1\n", + "7.1.17:2\n", + "7.1.17.:1\n", + "release,:2\n", + "containing:1\n", + "many:1\n", + "bugfixes.:1\n", + "7.0.30:2\n", + "7.0.30.:1\n", + "7.0:1\n", + "7.2.5:2\n", + "7.2.5.:1\n", + "contains:2\n", + "several:2\n", + "minor:1\n", + "bug:2\n", + "fixes.All:1\n", + "theChangeLog.01:1\n", + "Feb:1\n", + "7.2.2:2\n", + "7.2.2.:1\n", + "fixes:2\n", + "included.All:1\n", + "theChangeLog.12:1\n", + "Oct:1\n", + "2017PHP:5\n", + "7.2.0:15\n", + "Release:14\n", + "Candidate:14\n", + "4:2\n", + "RC4.:1\n", + "fourth:1\n", + "7.2.0.:4\n", + "carefully,:5\n", + "incompatibilities:5\n", + "tracking:5\n", + "system.THIS:5\n", + "IS:5\n", + "A:5\n", + "DEVELOPMENT:5\n", + "PREVIEW:5\n", + "-:7\n", + "USE:5\n", + "IT:5\n", + "IN:5\n", + "PRODUCTION!For:5\n", + "archive.For:5\n", + "thedownloadpage,:5\n", + "sources:5\n", + "atwindows.php.net/qa/.The:4\n", + "will:5\n", + "announced:2\n", + "26th:1\n", + "October.:2\n", + "You:5\n", + "full:5\n", + "releases:5\n", + "onour:4\n", + "wiki.Thank:4\n", + "better.28:1\n", + "Sep:1\n", + "3:6\n", + "RC3.:1\n", + "third:2\n", + "12th:1\n", + "better.31:1\n", + "Aug:2\n", + "second:1\n", + "released:3\n", + "14th:1\n", + "September.:1\n", + "better.17:1\n", + "Beta:3\n", + "3.:2\n", + "final:1\n", + "beta:2\n", + "31th:1\n", + "August.:1\n", + "better.06:1\n", + "Jul:1\n", + "improvements:1\n", + "relative:1\n", + "2.:1\n", + "onwindows.php.net/qa/.The:1\n", + "20th:1\n", + "July.:1\n", + "ourwiki.Thank:1\n", + "better.Older:1\n", + "News:1\n", + "EntriesConferences:1\n", + "calling:1\n", + "papersphp[world]:1\n", + "2018Upcoming:1\n", + "conferencesLaravelConf:1\n", + "Taiwan:1\n", + "2018Mid-Atlantic:1\n", + "Developer:1\n", + "ConferenceInternational:1\n", + "Conference:1\n", + "2018:2\n", + "Fall:1\n", + "EditionCoderCruise:1\n", + "Bahamas!User:1\n", + "Group:1\n", + "EventsSpecial:1\n", + "ThanksSocial:1\n", + "media@official_phpCopyright:1\n", + "©:1\n", + "2001-2018:1\n", + "GroupMy:1\n", + "PHP.netContactOther:1\n", + "PHP.net:1\n", + "sitesMirror:1\n", + "sitesPrivacy:1\n", + "policy:1\n" + ] + } + ], + "source": [ + "# NLTK - Natural Language Tool Kit\n", + "\n", + "\n", + "freq = nltk.FreqDist(tokens)\n", + "\n", + "\n", + "# Show the frequency dictionary\n", + "\n", + "\n", + "for key,val in freq.items():\n", + " print (str(key) + ':' + str(val))" + ] + }, + { + "cell_type": "code", + "execution_count": 27, + "metadata": {}, + "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + "Stopword list\n", + "['i', 'me', 'my', 'myself', 'we', 'our', 'ours', 'ourselves', 'you', \"you're\", \"you've\", \"you'll\", \"you'd\", 'your', 'yours', 'yourself', 'yourselves', 'he', 'him', 'his', 'himself', 'she', \"she's\", 'her', 'hers', 'herself', 'it', \"it's\", 'its', 'itself', 'they', 'them', 'their', 'theirs', 'themselves', 'what', 'which', 'who', 'whom', 'this', 'that', \"that'll\", 'these', 'those', 'am', 'is', 'are', 'was', 'were', 'be', 'been', 'being', 'have', 'has', 'had', 'having', 'do', 'does', 'did', 'doing', 'a', 'an', 'the', 'and', 'but', 'if', 'or', 'because', 'as', 'until', 'while', 'of', 'at', 'by', 'for', 'with', 'about', 'against', 'between', 'into', 'through', 'during', 'before', 'after', 'above', 'below', 'to', 'from', 'up', 'down', 'in', 'out', 'on', 'off', 'over', 'under', 'again', 'further', 'then', 'once', 'here', 'there', 'when', 'where', 'why', 'how', 'all', 'any', 'both', 'each', 'few', 'more', 'most', 'other', 'some', 'such', 'no', 'nor', 'not', 'only', 'own', 'same', 'so', 'than', 'too', 'very', 's', 't', 'can', 'will', 'just', 'don', \"don't\", 'should', \"should've\", 'now', 'd', 'll', 'm', 'o', 're', 've', 'y', 'ain', 'aren', \"aren't\", 'couldn', \"couldn't\", 'didn', \"didn't\", 'doesn', \"doesn't\", 'hadn', \"hadn't\", 'hasn', \"hasn't\", 'haven', \"haven't\", 'isn', \"isn't\", 'ma', 'mightn', \"mightn't\", 'mustn', \"mustn't\", 'needn', \"needn't\", 'shan', \"shan't\", 'shouldn', \"shouldn't\", 'wasn', \"wasn't\", 'weren', \"weren't\", 'won', \"won't\", 'wouldn', \"wouldn't\"]\n" + ] + } + ], + "source": [ + "# Remove stopwords - Stopword removal technique\n", + "\n", + "from nltk.corpus import stopwords\n", + "\n", + "\n", + "\n", + "# Copying an array completely\n", + "\n", + "clean_tokens = tokens[:]\n", + "\n", + "\n", + "\n", + "# Using english stopwords\n", + "\n", + "sr = stopwords.words('english')\n", + "print(\"Stopword list\")\n", + "print(sr)" + ] + }, + { + "cell_type": "code", + "execution_count": 28, + "metadata": {}, + "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + "['PHP:', 'Hypertext', 'PreprocessorDownloadsDocumentationGet', 'InvolvedHelpGetting', 'StartedIntroductionA', 'simple', 'tutorialLanguage', 'ReferenceBasic', 'syntaxTypesVariablesConstantsExpressionsOperatorsControl', 'StructuresFunctionsClasses', 'ObjectsNamespacesErrorsExceptionsGeneratorsReferences', 'ExplainedPredefined', 'VariablesPredefined', 'ExceptionsPredefined', 'Interfaces', 'ClassesContext', 'options', 'parametersSupported', 'Protocols', 'WrappersSecurityIntroductionGeneral', 'considerationsInstalled', 'CGI', 'binaryInstalled', 'Apache', 'moduleSession', 'SecurityFilesystem', 'SecurityDatabase', 'SecurityError', 'ReportingUsing', 'Register', 'GlobalsUser', 'Submitted', 'DataMagic', 'QuotesHiding', 'PHPKeeping', 'CurrentFeaturesHTTP', 'authentication', 'PHPCookiesSessionsDealing', 'XFormsHandling', 'file', 'uploadsUsing', 'remote', 'filesConnection', 'handlingPersistent', 'Database', 'ConnectionsSafe', 'ModeCommand', 'line', 'usageGarbage', 'CollectionDTrace', 'Dynamic', 'TracingFunction', 'ReferenceAffecting', \"PHP's\", 'BehaviourAudio', 'Formats', 'ManipulationAuthentication', 'ServicesCommand', 'Line', 'Specific', 'ExtensionsCompression', 'Archive', 'ExtensionsCredit', 'Card', 'ProcessingCryptography', 'ExtensionsDatabase', 'ExtensionsDate', 'Time', 'Related', 'ExtensionsFile', 'System', 'Related', 'ExtensionsHuman', 'Language', 'Character', 'Encoding', 'SupportImage', 'Processing', 'GenerationMail', 'Related', 'ExtensionsMathematical', 'ExtensionsNon-Text', 'MIME', 'OutputProcess', 'Control', 'ExtensionsOther', 'Basic', 'ExtensionsOther', 'ServicesSearch', 'Engine', 'ExtensionsServer', 'Specific', 'ExtensionsSession', 'ExtensionsText', 'ProcessingVariable', 'Type', 'Related', 'ExtensionsWeb', 'ServicesWindows', 'Only', 'ExtensionsXML', 'ManipulationGUI', 'ExtensionsKeyboard', 'Shortcuts?This', 'helpjNext', 'menu', 'itemkPrevious', 'menu', 'itemg', 'pPrevious', 'man', 'pageg', 'nNext', 'man', 'pageGScroll', 'bottomg', 'gScroll', 'topg', 'hGoto', 'homepageg', 'sGoto', 'search(current', 'page)/Focus', 'search', 'boxPHP', 'popular', 'general-purpose', 'scripting', 'language', 'especially', 'suited', 'web', 'development.Fast,', 'flexible', 'pragmatic,', 'PHP', 'powers', 'everything', 'blog', 'popular', 'websites', 'world.Download5.6.36·Release', 'Notes·Upgrading7.0.30·Release', 'Notes·Upgrading7.1.18·Release', 'Notes·Upgrading7.2.6·Release', 'Notes·Upgrading07', 'Jun', '2018PHP', '7.3.0', 'alpha', '1', 'ReleasedPHP', 'team', 'glad', 'announce', 'release', 'first', 'PHP', '7.3.0', 'version,', 'PHP', '7.3.0', 'Alpha', '1.', 'This', 'starts', 'PHP', '7.3', 'release', 'cycle,', 'rough', 'outline', 'specified', 'thePHP', 'Wiki.For', 'source', 'downloads', 'PHP', '7.3.0', 'Alpha', '1', 'please', 'visit', 'thedownload', 'page.Please', 'carefully', 'test', 'version', 'report', 'issues', 'found', 'thebug', 'reporting', 'system.Please', 'DO', 'NOT', 'use', 'version', 'production,', 'early', 'test', 'version.For', 'information', 'new', 'features', 'changes,', 'read', 'theNEWSfile,', 'theUPGRADINGfile', 'complete', 'list', 'upgrading', 'notes.', 'These', 'files', 'also', 'found', 'release', 'archive.The', 'next', 'release', 'would', 'Alpha', '2,', 'planned', 'June', '21.The', 'signatures', 'release', 'found', 'inthe', 'manifestor', 'onthe', 'QA', 'site.Thank', 'helping', 'us', 'make', 'PHP', 'better.25', 'May', '2018PHP', '7.1.18', 'ReleasedThe', 'PHP', 'development', 'team', 'announces', 'immediate', 'availability', 'PHP', '7.1.18.', 'All', 'PHP', '7.1', 'users', 'encouraged', 'upgrade', 'version.For', 'source', 'downloads', 'PHP', '7.1.18', 'please', 'visit', 'ourdownloads', 'page,', 'Windows', 'source', 'binaries', 'found', 'onwindows.php.net/download/.', 'The', 'list', 'changes', 'recorded', 'theChangeLog.24', 'May', '2018PHP', '7.2.6', 'ReleasedThe', 'PHP', 'development', 'team', 'announces', 'immediate', 'availability', 'PHP', '7.2.6.', 'This', 'primarily', 'bugfix', 'release', 'includes', 'memory', 'corruption', 'fix', 'EXIF.PHP', '7.2', 'users', 'encouraged', 'upgrade', 'version.For', 'source', 'downloads', 'PHP', '7.2.6', 'please', 'visit', 'ourdownloads', 'page,', 'Windows', 'source', 'binaries', 'found', 'onwindows.php.net/download/.', 'The', 'list', 'changes', 'recorded', 'theChangeLog.26', 'Apr', '2018PHP', '5.6.36', 'ReleasedThe', 'PHP', 'development', 'team', 'announces', 'immediate', 'availability', 'PHP', '5.6.36.', 'This', 'security', 'release.', 'Several', 'security', 'bugs', 'fixed', 'release.', 'All', 'PHP', '5.6', 'users', 'encouraged', 'upgrade', 'version.For', 'source', 'downloads', 'PHP', '5.6.36', 'please', 'visit', 'ourdownloads', 'page,', 'Windows', 'source', 'binaries', 'found', 'onwindows.php.net/download/.', 'The', 'list', 'changes', 'recorded', 'theChangeLog.26', 'Apr', '2018PHP', '7.1.17', 'ReleasedThe', 'PHP', 'development', 'team', 'announces', 'immediate', 'availability', 'PHP', '7.1.17.', 'This', 'security', 'fix', 'release,', 'containing', 'many', 'bugfixes.', 'All', 'PHP', '7.1', 'users', 'encouraged', 'upgrade', 'version.For', 'source', 'downloads', 'PHP', '7.1.17', 'please', 'visit', 'ourdownloads', 'page,', 'Windows', 'source', 'binaries', 'found', 'onwindows.php.net/download/.', 'The', 'list', 'changes', 'recorded', 'theChangeLog.26', 'Apr', '2018PHP', '7.0.30', 'ReleasedThe', 'PHP', 'development', 'team', 'announces', 'immediate', 'availability', 'PHP', '7.0.30.', 'This', 'security', 'release.', 'Several', 'security', 'bugs', 'fixed', 'release.', 'All', 'PHP', '7.0', 'users', 'encouraged', 'upgrade', 'version.For', 'source', 'downloads', 'PHP', '7.0.30', 'please', 'visit', 'ourdownloads', 'page,', 'Windows', 'source', 'binaries', 'found', 'onwindows.php.net/download/.', 'The', 'list', 'changes', 'recorded', 'theChangeLog.26', 'Apr', '2018PHP', '7.2.5', 'ReleasedThe', 'PHP', 'development', 'team', 'announces', 'immediate', 'availability', 'PHP', '7.2.5.', 'This', 'security', 'release', 'also', 'contains', 'several', 'minor', 'bug', 'fixes.All', 'PHP', '7.2', 'users', 'encouraged', 'upgrade', 'version.For', 'source', 'downloads', 'PHP', '7.2.5', 'please', 'visit', 'ourdownloads', 'page,', 'Windows', 'source', 'binaries', 'found', 'onwindows.php.net/download/.', 'The', 'list', 'changes', 'recorded', 'theChangeLog.01', 'Feb', '2018PHP', '7.2.2', 'ReleasedThe', 'PHP', 'development', 'team', 'announces', 'immediate', 'availability', 'PHP', '7.2.2.', 'This', 'bugfix', 'release,', 'several', 'bug', 'fixes', 'included.All', 'PHP', '7.2', 'users', 'encouraged', 'upgrade', 'version.For', 'source', 'downloads', 'PHP', '7.2.2', 'please', 'visit', 'ourdownloads', 'page,', 'Windows', 'source', 'binaries', 'found', 'onwindows.php.net/download/.', 'The', 'list', 'changes', 'recorded', 'theChangeLog.12', 'Oct', '2017PHP', '7.2.0', 'Release', 'Candidate', '4', 'ReleasedThe', 'PHP', 'development', 'team', 'announces', 'immediate', 'availability', 'PHP', '7.2.0', 'RC4.', 'This', 'release', 'fourth', 'Release', 'Candidate', '7.2.0.', 'All', 'users', 'PHP', 'encouraged', 'test', 'version', 'carefully,', 'report', 'bugs', 'incompatibilities', 'thebug', 'tracking', 'system.THIS', 'IS', 'A', 'DEVELOPMENT', 'PREVIEW', '-', 'DO', 'NOT', 'USE', 'IT', 'IN', 'PRODUCTION!For', 'information', 'new', 'features', 'changes,', 'read', 'theNEWSfile,', 'theUPGRADINGfile', 'complete', 'list', 'upgrading', 'notes.', 'These', 'files', 'also', 'found', 'release', 'archive.For', 'source', 'downloads', 'PHP', '7.2.0', 'Release', 'Candidate', '4', 'please', 'visit', 'thedownloadpage,', 'Windows', 'sources', 'binaries', 'found', 'atwindows.php.net/qa/.The', 'next', 'Release', 'Candidate', 'announced', '26th', 'October.', 'You', 'also', 'read', 'full', 'list', 'planned', 'releases', 'onour', 'wiki.Thank', 'helping', 'us', 'make', 'PHP', 'better.28', 'Sep', '2017PHP', '7.2.0', 'Release', 'Candidate', '3', 'ReleasedThe', 'PHP', 'development', 'team', 'announces', 'immediate', 'availability', 'PHP', '7.2.0', 'RC3.', 'This', 'release', 'third', 'Release', 'Candidate', '7.2.0.', 'All', 'users', 'PHP', 'encouraged', 'test', 'version', 'carefully,', 'report', 'bugs', 'incompatibilities', 'thebug', 'tracking', 'system.THIS', 'IS', 'A', 'DEVELOPMENT', 'PREVIEW', '-', 'DO', 'NOT', 'USE', 'IT', 'IN', 'PRODUCTION!For', 'information', 'new', 'features', 'changes,', 'read', 'theNEWSfile,', 'theUPGRADINGfile', 'complete', 'list', 'upgrading', 'notes.', 'These', 'files', 'also', 'found', 'release', 'archive.For', 'source', 'downloads', 'PHP', '7.2.0', 'Release', 'Candidate', '3', 'please', 'visit', 'thedownloadpage,', 'Windows', 'sources', 'binaries', 'found', 'atwindows.php.net/qa/.The', 'next', 'Release', 'Candidate', 'announced', '12th', 'October.', 'You', 'also', 'read', 'full', 'list', 'planned', 'releases', 'onour', 'wiki.Thank', 'helping', 'us', 'make', 'PHP', 'better.31', 'Aug', '2017PHP', '7.2.0', 'Release', 'Candidate', '1', 'ReleasedThe', 'PHP', 'development', 'team', 'announces', 'immediate', 'availability', 'PHP', '7.2.0', 'Release', 'Candidate', '1.', 'This', 'release', 'first', 'Release', 'Candidate', '7.2.0.', 'All', 'users', 'PHP', 'encouraged', 'test', 'version', 'carefully,', 'report', 'bugs', 'incompatibilities', 'thebug', 'tracking', 'system.THIS', 'IS', 'A', 'DEVELOPMENT', 'PREVIEW', '-', 'DO', 'NOT', 'USE', 'IT', 'IN', 'PRODUCTION!For', 'information', 'new', 'features', 'changes,', 'read', 'theNEWSfile,', 'theUPGRADINGfile', 'complete', 'list', 'upgrading', 'notes.', 'These', 'files', 'also', 'found', 'release', 'archive.For', 'source', 'downloads', 'PHP', '7.2.0', 'Release', 'Candidate', '1', 'please', 'visit', 'thedownloadpage,', 'Windows', 'sources', 'binaries', 'found', 'atwindows.php.net/qa/.The', 'second', 'Release', 'Candidate', 'released', '14th', 'September.', 'You', 'also', 'read', 'full', 'list', 'planned', 'releases', 'onour', 'wiki.Thank', 'helping', 'us', 'make', 'PHP', 'better.17', 'Aug', '2017PHP', '7.2.0', 'Beta', '3', 'ReleasedThe', 'PHP', 'development', 'team', 'announces', 'immediate', 'availability', 'PHP', '7.2.0', 'Beta', '3.', 'This', 'release', 'third', 'final', 'beta', '7.2.0.', 'All', 'users', 'PHP', 'encouraged', 'test', 'version', 'carefully,', 'report', 'bugs', 'incompatibilities', 'thebug', 'tracking', 'system.THIS', 'IS', 'A', 'DEVELOPMENT', 'PREVIEW', '-', 'DO', 'NOT', 'USE', 'IT', 'IN', 'PRODUCTION!For', 'information', 'new', 'features', 'changes,', 'read', 'theNEWSfile,', 'theUPGRADINGfile', 'complete', 'list', 'upgrading', 'notes.', 'These', 'files', 'also', 'found', 'release', 'archive.For', 'source', 'downloads', 'PHP', '7.2.0', 'Beta', '3', 'please', 'visit', 'thedownloadpage,', 'Windows', 'sources', 'binaries', 'found', 'atwindows.php.net/qa/.The', 'first', 'Release', 'Candidate', 'released', '31th', 'August.', 'You', 'also', 'read', 'full', 'list', 'planned', 'releases', 'onour', 'wiki.Thank', 'helping', 'us', 'make', 'PHP', 'better.06', 'Jul', '2017PHP', '7.2.0', 'Alpha', '3', 'ReleasedThe', 'PHP', 'development', 'team', 'announces', 'immediate', 'availability', 'PHP', '7.2.0', 'Alpha', '3.', 'This', 'release', 'contains', 'fixes', 'improvements', 'relative', 'Alpha', '2.', 'All', 'users', 'PHP', 'encouraged', 'test', 'version', 'carefully,', 'report', 'bugs', 'incompatibilities', 'thebug', 'tracking', 'system.THIS', 'IS', 'A', 'DEVELOPMENT', 'PREVIEW', '-', 'DO', 'NOT', 'USE', 'IT', 'IN', 'PRODUCTION!For', 'information', 'new', 'features', 'changes,', 'read', 'theNEWSfile,', 'theUPGRADINGfile', 'complete', 'list', 'upgrading', 'notes.', 'These', 'files', 'also', 'found', 'release', 'archive.For', 'source', 'downloads', 'PHP', '7.2.0', 'Alpha', '3', 'please', 'visit', 'thedownloadpage,', 'Windows', 'sources', 'binaries', 'found', 'onwindows.php.net/qa/.The', 'first', 'beta', 'released', '20th', 'July.', 'You', 'also', 'read', 'full', 'list', 'planned', 'releases', 'ourwiki.Thank', 'helping', 'us', 'make', 'PHP', 'better.Older', 'News', 'EntriesConferences', 'calling', 'papersphp[world]', '2018Upcoming', 'conferencesLaravelConf', 'Taiwan', '2018Mid-Atlantic', 'Developer', 'ConferenceInternational', 'PHP', 'Conference', '2018', '-', 'Fall', 'EditionCoderCruise', '2018', '-', 'The', 'Bahamas!User', 'Group', 'EventsSpecial', 'ThanksSocial', 'media@official_phpCopyright', '©', '2001-2018', 'The', 'PHP', 'GroupMy', 'PHP.netContactOther', 'PHP.net', 'sitesMirror', 'sitesPrivacy', 'policy']\n" + ] + } + ], + "source": [ + "# Iterate over all the tokens\n", + "for token in tokens:\n", + " if token in stopwords.words('english'):\n", + " clean_tokens.remove(token)\n", + "print(clean_tokens) " + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": {}, + "outputs": [], + "source": [] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": {}, + "outputs": [], + "source": [] + } + ], + "metadata": { + "kernelspec": { + "display_name": "Python 3", + "language": "python", + "name": "python3" + }, + "language_info": { + "codemirror_mode": { + "name": "ipython", + "version": 3 + }, + "file_extension": ".py", + "mimetype": "text/x-python", + "name": "python", + "nbconvert_exporter": "python", + "pygments_lexer": "ipython3", + "version": "3.6.5" + } + }, + "nbformat": 4, + "nbformat_minor": 2 +} diff --git a/ArunavD/nltk_test/nltk_data/corpora/stopwords.zip b/ArunavD/nltk_test/nltk_data/corpora/stopwords.zip new file mode 100644 index 0000000000000000000000000000000000000000..e7814065263fe740bcf34ac2cc62c98171583a47 GIT binary patch literal 17481 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 Date: Fri, 22 Jun 2018 12:03:22 +0530 Subject: [PATCH 2/2] initial commit --- .../nltk_run.py-checkpoint.ipynb | 452 ++++++++++++------ ArunavD/nltk_test/nltk_run.py.ipynb | 452 ++++++++++++------ 2 files changed, 616 insertions(+), 288 deletions(-) diff --git a/ArunavD/nltk_test/.ipynb_checkpoints/nltk_run.py-checkpoint.ipynb b/ArunavD/nltk_test/.ipynb_checkpoints/nltk_run.py-checkpoint.ipynb index 6fc4a32..6042edd 100644 --- a/ArunavD/nltk_test/.ipynb_checkpoints/nltk_run.py-checkpoint.ipynb +++ b/ArunavD/nltk_test/.ipynb_checkpoints/nltk_run.py-checkpoint.ipynb @@ -16,7 +16,7 @@ }, { "cell_type": "code", - "execution_count": 14, + "execution_count": 2, "metadata": {}, "outputs": [], "source": [ @@ -28,7 +28,7 @@ }, { "cell_type": "code", - "execution_count": 15, + "execution_count": 3, "metadata": {}, "outputs": [], "source": [ @@ -40,14 +40,20 @@ }, { "cell_type": "code", - "execution_count": 17, + "execution_count": 4, "metadata": {}, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ - "PHP: Hypertext PreprocessorDownloadsDocumentationGet InvolvedHelpGetting StartedIntroductionA simple tutorialLanguage ReferenceBasic syntaxTypesVariablesConstantsExpressionsOperatorsControl StructuresFunctionsClasses and ObjectsNamespacesErrorsExceptionsGeneratorsReferences ExplainedPredefined VariablesPredefined ExceptionsPredefined Interfaces and ClassesContext options and parametersSupported Protocols and WrappersSecurityIntroductionGeneral considerationsInstalled as CGI binaryInstalled as an Apache moduleSession SecurityFilesystem SecurityDatabase SecurityError ReportingUsing Register GlobalsUser Submitted DataMagic QuotesHiding PHPKeeping CurrentFeaturesHTTP authentication with PHPCookiesSessionsDealing with XFormsHandling file uploadsUsing remote filesConnection handlingPersistent Database ConnectionsSafe ModeCommand line usageGarbage CollectionDTrace Dynamic TracingFunction ReferenceAffecting PHP's BehaviourAudio Formats ManipulationAuthentication ServicesCommand Line Specific ExtensionsCompression and Archive ExtensionsCredit Card ProcessingCryptography ExtensionsDatabase ExtensionsDate and Time Related ExtensionsFile System Related ExtensionsHuman Language and Character Encoding SupportImage Processing and GenerationMail Related ExtensionsMathematical ExtensionsNon-Text MIME OutputProcess Control ExtensionsOther Basic ExtensionsOther ServicesSearch Engine ExtensionsServer Specific ExtensionsSession ExtensionsText ProcessingVariable and Type Related ExtensionsWeb ServicesWindows Only ExtensionsXML ManipulationGUI ExtensionsKeyboard Shortcuts?This helpjNext menu itemkPrevious menu itemg pPrevious man pageg nNext man pageGScroll to bottomg gScroll to topg hGoto homepageg sGoto search(current page)/Focus search boxPHP is a popular general-purpose scripting language that is especially suited to web development.Fast, flexible and pragmatic, PHP powers everything from your blog to the most popular websites in the world.Download5.6.36·Release Notes·Upgrading7.0.30·Release Notes·Upgrading7.1.18·Release Notes·Upgrading7.2.6·Release Notes·Upgrading07 Jun 2018PHP 7.3.0 alpha 1 ReleasedPHP team is glad to announce the release of the first PHP 7.3.0 version, PHP 7.3.0 Alpha 1. \n", + "PHP: Hypertext PreprocessorDownloadsDocumentationGet InvolvedHelpGetting StartedIntroductionA simple tutorialLanguage ReferenceBasic syntaxTypesVariablesConstantsExpressionsOperatorsControl StructuresFunctionsClasses and ObjectsNamespacesErrorsExceptionsGeneratorsReferences ExplainedPredefined VariablesPredefined ExceptionsPredefined Interfaces and ClassesContext options and parametersSupported Protocols and WrappersSecurityIntroductionGeneral considerationsInstalled as CGI binaryInstalled as an Apache moduleSession SecurityFilesystem SecurityDatabase SecurityError ReportingUsing Register GlobalsUser Submitted DataMagic QuotesHiding PHPKeeping CurrentFeaturesHTTP authentication with PHPCookiesSessionsDealing with XFormsHandling file uploadsUsing remote filesConnection handlingPersistent Database ConnectionsSafe ModeCommand line usageGarbage CollectionDTrace Dynamic TracingFunction ReferenceAffecting PHP's BehaviourAudio Formats ManipulationAuthentication ServicesCommand Line Specific ExtensionsCompression and Archive ExtensionsCredit Card ProcessingCryptography ExtensionsDatabase ExtensionsDate and Time Related ExtensionsFile System Related ExtensionsHuman Language and Character Encoding SupportImage Processing and GenerationMail Related ExtensionsMathematical ExtensionsNon-Text MIME OutputProcess Control ExtensionsOther Basic ExtensionsOther ServicesSearch Engine ExtensionsServer Specific ExtensionsSession ExtensionsText ProcessingVariable and Type Related ExtensionsWeb ServicesWindows Only ExtensionsXML ManipulationGUI ExtensionsKeyboard Shortcuts?This helpjNext menu itemkPrevious menu itemg pPrevious man pageg nNext man pageGScroll to bottomg gScroll to topg hGoto homepageg sGoto search(current page)/Focus search boxPHP is a popular general-purpose scripting language that is especially suited to web development.Fast, flexible and pragmatic, PHP powers everything from your blog to the most popular websites in the world.Download5.6.36·Release Notes·Upgrading7.0.30·Release Notes·Upgrading7.1.18·Release Notes·Upgrading7.2.7·Release Notes·Upgrading21 Jun 2018PHP 7.2.7 ReleasedPHP 7.2.7 Release AnnouncementThe PHP development team announces the immediate availability of PHP 7.2.7.\n", + " This is a primarily a bugfix release which includes a segfault fix for opcache.PHP 7.2 users are encouraged to upgrade to this version.For source downloads of PHP 7.2.7 please visit ourdownloads page,\n", + " Windows source and binaries can be found onwindows.php.net/download/.\n", + " The list of changes is recorded in theChangeLog.21 Jun 2018PHP 7.3.0 alpha 2 ReleasedThe PHP team is glad to announce the release of the second PHP 7.3.0 version, PHP 7.3.0 Alpha 2. \n", + " The rough outline of the PHP 7.3 release cycle is specified in thePHP Wiki.For source downloads of PHP 7.3.0 Alpha 2 please visit thedownload page.\n", + " Windows sources and binaries can be found onwindows.php.net/qa/.Please carefully test this version and report any issues found in thebug reporting system.THIS IS A DEVELOPMENT PREVIEW - DO NOT USE IT IN PRODUCTION!For more information on the new features and other changes, you can read theNEWSfile,\n", + " or theUPGRADINGfile for a complete list of upgrading notes. These files can also be found in the release archive.The next release would be Alpha 3, planned for July 5.The signatures for the release can be found inthe manifestor onthe QA site.Thank you for helping us make PHP better.07 Jun 2018PHP 7.3.0 alpha 1 ReleasedPHP team is glad to announce the release of the first PHP 7.3.0 version, PHP 7.3.0 Alpha 1. \n", "\t This starts the PHP 7.3 release cycle, the rough outline of which is specified in thePHP Wiki.For source downloads of PHP 7.3.0 Alpha 1 please visit thedownload page.Please carefully test this version and report any issues found in thebug reporting system.Please DO NOT use this version in production, it is an early test version.For more information on the new features and other changes, you can read theNEWSfile,\n", "\t or theUPGRADINGfile for a complete list of upgrading notes. These files can also be found in the release archive.The next release would be Alpha 2, planned for June 21.The signatures for the release can be found inthe manifestor onthe QA site.Thank you for helping us make PHP better.25 May 2018PHP 7.1.18 ReleasedThe PHP development team announces the immediate availability of PHP\n", " 7.1.18.\n", @@ -74,9 +80,6 @@ " \n", " All PHP 7.0 users are encouraged to upgrade to this version.For source downloads of PHP 7.0.30 please visit ourdownloads page,\n", " Windows source and binaries can be found onwindows.php.net/download/.\n", - " The list of changes is recorded in theChangeLog.26 Apr 2018PHP 7.2.5 ReleasedThe PHP development team announces the immediate availability of PHP\n", - " 7.2.5. This is a security release which also contains several minor bug fixes.All PHP 7.2 users are encouraged to upgrade to this version.For source downloads of PHP 7.2.5 please visit ourdownloads page,\n", - " Windows source and binaries can be found onwindows.php.net/download/.\n", " The list of changes is recorded in theChangeLog.01 Feb 2018PHP 7.2.2 ReleasedThe PHP development team announces the immediate availability of PHP\n", " 7.2.2. This is a bugfix release, with several bug fixes included.All PHP 7.2 users are encouraged to upgrade to this version.For source downloads of PHP 7.2.2 please visit ourdownloads page,\n", " Windows source and binaries can be found onwindows.php.net/download/.\n", @@ -124,14 +127,14 @@ }, { "cell_type": "code", - "execution_count": 18, + "execution_count": 5, "metadata": {}, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ - "['PHP:', 'Hypertext', 'PreprocessorDownloadsDocumentationGet', 'InvolvedHelpGetting', 'StartedIntroductionA', 'simple', 'tutorialLanguage', 'ReferenceBasic', 'syntaxTypesVariablesConstantsExpressionsOperatorsControl', 'StructuresFunctionsClasses', 'and', 'ObjectsNamespacesErrorsExceptionsGeneratorsReferences', 'ExplainedPredefined', 'VariablesPredefined', 'ExceptionsPredefined', 'Interfaces', 'and', 'ClassesContext', 'options', 'and', 'parametersSupported', 'Protocols', 'and', 'WrappersSecurityIntroductionGeneral', 'considerationsInstalled', 'as', 'CGI', 'binaryInstalled', 'as', 'an', 'Apache', 'moduleSession', 'SecurityFilesystem', 'SecurityDatabase', 'SecurityError', 'ReportingUsing', 'Register', 'GlobalsUser', 'Submitted', 'DataMagic', 'QuotesHiding', 'PHPKeeping', 'CurrentFeaturesHTTP', 'authentication', 'with', 'PHPCookiesSessionsDealing', 'with', 'XFormsHandling', 'file', 'uploadsUsing', 'remote', 'filesConnection', 'handlingPersistent', 'Database', 'ConnectionsSafe', 'ModeCommand', 'line', 'usageGarbage', 'CollectionDTrace', 'Dynamic', 'TracingFunction', 'ReferenceAffecting', \"PHP's\", 'BehaviourAudio', 'Formats', 'ManipulationAuthentication', 'ServicesCommand', 'Line', 'Specific', 'ExtensionsCompression', 'and', 'Archive', 'ExtensionsCredit', 'Card', 'ProcessingCryptography', 'ExtensionsDatabase', 'ExtensionsDate', 'and', 'Time', 'Related', 'ExtensionsFile', 'System', 'Related', 'ExtensionsHuman', 'Language', 'and', 'Character', 'Encoding', 'SupportImage', 'Processing', 'and', 'GenerationMail', 'Related', 'ExtensionsMathematical', 'ExtensionsNon-Text', 'MIME', 'OutputProcess', 'Control', 'ExtensionsOther', 'Basic', 'ExtensionsOther', 'ServicesSearch', 'Engine', 'ExtensionsServer', 'Specific', 'ExtensionsSession', 'ExtensionsText', 'ProcessingVariable', 'and', 'Type', 'Related', 'ExtensionsWeb', 'ServicesWindows', 'Only', 'ExtensionsXML', 'ManipulationGUI', 'ExtensionsKeyboard', 'Shortcuts?This', 'helpjNext', 'menu', 'itemkPrevious', 'menu', 'itemg', 'pPrevious', 'man', 'pageg', 'nNext', 'man', 'pageGScroll', 'to', 'bottomg', 'gScroll', 'to', 'topg', 'hGoto', 'homepageg', 'sGoto', 'search(current', 'page)/Focus', 'search', 'boxPHP', 'is', 'a', 'popular', 'general-purpose', 'scripting', 'language', 'that', 'is', 'especially', 'suited', 'to', 'web', 'development.Fast,', 'flexible', 'and', 'pragmatic,', 'PHP', 'powers', 'everything', 'from', 'your', 'blog', 'to', 'the', 'most', 'popular', 'websites', 'in', 'the', 'world.Download5.6.36·Release', 'Notes·Upgrading7.0.30·Release', 'Notes·Upgrading7.1.18·Release', 'Notes·Upgrading7.2.6·Release', 'Notes·Upgrading07', 'Jun', '2018PHP', '7.3.0', 'alpha', '1', 'ReleasedPHP', 'team', 'is', 'glad', 'to', 'announce', 'the', 'release', 'of', 'the', 'first', 'PHP', '7.3.0', 'version,', 'PHP', '7.3.0', 'Alpha', '1.', 'This', 'starts', 'the', 'PHP', '7.3', 'release', 'cycle,', 'the', 'rough', 'outline', 'of', 'which', 'is', 'specified', 'in', 'thePHP', 'Wiki.For', 'source', 'downloads', 'of', 'PHP', '7.3.0', 'Alpha', '1', 'please', 'visit', 'thedownload', 'page.Please', 'carefully', 'test', 'this', 'version', 'and', 'report', 'any', 'issues', 'found', 'in', 'thebug', 'reporting', 'system.Please', 'DO', 'NOT', 'use', 'this', 'version', 'in', 'production,', 'it', 'is', 'an', 'early', 'test', 'version.For', 'more', 'information', 'on', 'the', 'new', 'features', 'and', 'other', 'changes,', 'you', 'can', 'read', 'theNEWSfile,', 'or', 'theUPGRADINGfile', 'for', 'a', 'complete', 'list', 'of', 'upgrading', 'notes.', 'These', 'files', 'can', 'also', 'be', 'found', 'in', 'the', 'release', 'archive.The', 'next', 'release', 'would', 'be', 'Alpha', '2,', 'planned', 'for', 'June', '21.The', 'signatures', 'for', 'the', 'release', 'can', 'be', 'found', 'inthe', 'manifestor', 'onthe', 'QA', 'site.Thank', 'you', 'for', 'helping', 'us', 'make', 'PHP', 'better.25', 'May', '2018PHP', '7.1.18', 'ReleasedThe', 'PHP', 'development', 'team', 'announces', 'the', 'immediate', 'availability', 'of', 'PHP', '7.1.18.', 'All', 'PHP', '7.1', 'users', 'are', 'encouraged', 'to', 'upgrade', 'to', 'this', 'version.For', 'source', 'downloads', 'of', 'PHP', '7.1.18', 'please', 'visit', 'ourdownloads', 'page,', 'Windows', 'source', 'and', 'binaries', 'can', 'be', 'found', 'onwindows.php.net/download/.', 'The', 'list', 'of', 'changes', 'is', 'recorded', 'in', 'theChangeLog.24', 'May', '2018PHP', '7.2.6', 'ReleasedThe', 'PHP', 'development', 'team', 'announces', 'the', 'immediate', 'availability', 'of', 'PHP', '7.2.6.', 'This', 'is', 'a', 'primarily', 'a', 'bugfix', 'release', 'which', 'includes', 'a', 'memory', 'corruption', 'fix', 'for', 'EXIF.PHP', '7.2', 'users', 'are', 'encouraged', 'to', 'upgrade', 'to', 'this', 'version.For', 'source', 'downloads', 'of', 'PHP', '7.2.6', 'please', 'visit', 'ourdownloads', 'page,', 'Windows', 'source', 'and', 'binaries', 'can', 'be', 'found', 'onwindows.php.net/download/.', 'The', 'list', 'of', 'changes', 'is', 'recorded', 'in', 'theChangeLog.26', 'Apr', '2018PHP', '5.6.36', 'ReleasedThe', 'PHP', 'development', 'team', 'announces', 'the', 'immediate', 'availability', 'of', 'PHP', '5.6.36.', 'This', 'is', 'a', 'security', 'release.', 'Several', 'security', 'bugs', 'have', 'been', 'fixed', 'in', 'this', 'release.', 'All', 'PHP', '5.6', 'users', 'are', 'encouraged', 'to', 'upgrade', 'to', 'this', 'version.For', 'source', 'downloads', 'of', 'PHP', '5.6.36', 'please', 'visit', 'ourdownloads', 'page,', 'Windows', 'source', 'and', 'binaries', 'can', 'be', 'found', 'onwindows.php.net/download/.', 'The', 'list', 'of', 'changes', 'is', 'recorded', 'in', 'theChangeLog.26', 'Apr', '2018PHP', '7.1.17', 'ReleasedThe', 'PHP', 'development', 'team', 'announces', 'the', 'immediate', 'availability', 'of', 'PHP', '7.1.17.', 'This', 'is', 'a', 'security', 'fix', 'release,', 'containing', 'many', 'bugfixes.', 'All', 'PHP', '7.1', 'users', 'are', 'encouraged', 'to', 'upgrade', 'to', 'this', 'version.For', 'source', 'downloads', 'of', 'PHP', '7.1.17', 'please', 'visit', 'ourdownloads', 'page,', 'Windows', 'source', 'and', 'binaries', 'can', 'be', 'found', 'onwindows.php.net/download/.', 'The', 'list', 'of', 'changes', 'is', 'recorded', 'in', 'theChangeLog.26', 'Apr', '2018PHP', '7.0.30', 'ReleasedThe', 'PHP', 'development', 'team', 'announces', 'the', 'immediate', 'availability', 'of', 'PHP', '7.0.30.', 'This', 'is', 'a', 'security', 'release.', 'Several', 'security', 'bugs', 'have', 'been', 'fixed', 'in', 'this', 'release.', 'All', 'PHP', '7.0', 'users', 'are', 'encouraged', 'to', 'upgrade', 'to', 'this', 'version.For', 'source', 'downloads', 'of', 'PHP', '7.0.30', 'please', 'visit', 'ourdownloads', 'page,', 'Windows', 'source', 'and', 'binaries', 'can', 'be', 'found', 'onwindows.php.net/download/.', 'The', 'list', 'of', 'changes', 'is', 'recorded', 'in', 'theChangeLog.26', 'Apr', '2018PHP', '7.2.5', 'ReleasedThe', 'PHP', 'development', 'team', 'announces', 'the', 'immediate', 'availability', 'of', 'PHP', '7.2.5.', 'This', 'is', 'a', 'security', 'release', 'which', 'also', 'contains', 'several', 'minor', 'bug', 'fixes.All', 'PHP', '7.2', 'users', 'are', 'encouraged', 'to', 'upgrade', 'to', 'this', 'version.For', 'source', 'downloads', 'of', 'PHP', '7.2.5', 'please', 'visit', 'ourdownloads', 'page,', 'Windows', 'source', 'and', 'binaries', 'can', 'be', 'found', 'onwindows.php.net/download/.', 'The', 'list', 'of', 'changes', 'is', 'recorded', 'in', 'theChangeLog.01', 'Feb', '2018PHP', '7.2.2', 'ReleasedThe', 'PHP', 'development', 'team', 'announces', 'the', 'immediate', 'availability', 'of', 'PHP', '7.2.2.', 'This', 'is', 'a', 'bugfix', 'release,', 'with', 'several', 'bug', 'fixes', 'included.All', 'PHP', '7.2', 'users', 'are', 'encouraged', 'to', 'upgrade', 'to', 'this', 'version.For', 'source', 'downloads', 'of', 'PHP', '7.2.2', 'please', 'visit', 'ourdownloads', 'page,', 'Windows', 'source', 'and', 'binaries', 'can', 'be', 'found', 'onwindows.php.net/download/.', 'The', 'list', 'of', 'changes', 'is', 'recorded', 'in', 'theChangeLog.12', 'Oct', '2017PHP', '7.2.0', 'Release', 'Candidate', '4', 'ReleasedThe', 'PHP', 'development', 'team', 'announces', 'the', 'immediate', 'availability', 'of', 'PHP', '7.2.0', 'RC4.', 'This', 'release', 'is', 'the', 'fourth', 'Release', 'Candidate', 'for', '7.2.0.', 'All', 'users', 'of', 'PHP', 'are', 'encouraged', 'to', 'test', 'this', 'version', 'carefully,', 'and', 'report', 'any', 'bugs', 'and', 'incompatibilities', 'in', 'thebug', 'tracking', 'system.THIS', 'IS', 'A', 'DEVELOPMENT', 'PREVIEW', '-', 'DO', 'NOT', 'USE', 'IT', 'IN', 'PRODUCTION!For', 'more', 'information', 'on', 'the', 'new', 'features', 'and', 'other', 'changes,', 'you', 'can', 'read', 'theNEWSfile,', 'or', 'theUPGRADINGfile', 'for', 'a', 'complete', 'list', 'of', 'upgrading', 'notes.', 'These', 'files', 'can', 'also', 'be', 'found', 'in', 'the', 'release', 'archive.For', 'source', 'downloads', 'of', 'PHP', '7.2.0', 'Release', 'Candidate', '4', 'please', 'visit', 'thedownloadpage,', 'Windows', 'sources', 'and', 'binaries', 'can', 'be', 'found', 'atwindows.php.net/qa/.The', 'next', 'Release', 'Candidate', 'will', 'be', 'announced', 'on', 'the', '26th', 'of', 'October.', 'You', 'can', 'also', 'read', 'the', 'full', 'list', 'of', 'planned', 'releases', 'onour', 'wiki.Thank', 'you', 'for', 'helping', 'us', 'make', 'PHP', 'better.28', 'Sep', '2017PHP', '7.2.0', 'Release', 'Candidate', '3', 'ReleasedThe', 'PHP', 'development', 'team', 'announces', 'the', 'immediate', 'availability', 'of', 'PHP', '7.2.0', 'RC3.', 'This', 'release', 'is', 'the', 'third', 'Release', 'Candidate', 'for', '7.2.0.', 'All', 'users', 'of', 'PHP', 'are', 'encouraged', 'to', 'test', 'this', 'version', 'carefully,', 'and', 'report', 'any', 'bugs', 'and', 'incompatibilities', 'in', 'thebug', 'tracking', 'system.THIS', 'IS', 'A', 'DEVELOPMENT', 'PREVIEW', '-', 'DO', 'NOT', 'USE', 'IT', 'IN', 'PRODUCTION!For', 'more', 'information', 'on', 'the', 'new', 'features', 'and', 'other', 'changes,', 'you', 'can', 'read', 'theNEWSfile,', 'or', 'theUPGRADINGfile', 'for', 'a', 'complete', 'list', 'of', 'upgrading', 'notes.', 'These', 'files', 'can', 'also', 'be', 'found', 'in', 'the', 'release', 'archive.For', 'source', 'downloads', 'of', 'PHP', '7.2.0', 'Release', 'Candidate', '3', 'please', 'visit', 'thedownloadpage,', 'Windows', 'sources', 'and', 'binaries', 'can', 'be', 'found', 'atwindows.php.net/qa/.The', 'next', 'Release', 'Candidate', 'will', 'be', 'announced', 'on', 'the', '12th', 'of', 'October.', 'You', 'can', 'also', 'read', 'the', 'full', 'list', 'of', 'planned', 'releases', 'onour', 'wiki.Thank', 'you', 'for', 'helping', 'us', 'make', 'PHP', 'better.31', 'Aug', '2017PHP', '7.2.0', 'Release', 'Candidate', '1', 'ReleasedThe', 'PHP', 'development', 'team', 'announces', 'the', 'immediate', 'availability', 'of', 'PHP', '7.2.0', 'Release', 'Candidate', '1.', 'This', 'release', 'is', 'the', 'first', 'Release', 'Candidate', 'for', '7.2.0.', 'All', 'users', 'of', 'PHP', 'are', 'encouraged', 'to', 'test', 'this', 'version', 'carefully,', 'and', 'report', 'any', 'bugs', 'and', 'incompatibilities', 'in', 'thebug', 'tracking', 'system.THIS', 'IS', 'A', 'DEVELOPMENT', 'PREVIEW', '-', 'DO', 'NOT', 'USE', 'IT', 'IN', 'PRODUCTION!For', 'more', 'information', 'on', 'the', 'new', 'features', 'and', 'other', 'changes,', 'you', 'can', 'read', 'theNEWSfile,', 'or', 'theUPGRADINGfile', 'for', 'a', 'complete', 'list', 'of', 'upgrading', 'notes.', 'These', 'files', 'can', 'also', 'be', 'found', 'in', 'the', 'release', 'archive.For', 'source', 'downloads', 'of', 'PHP', '7.2.0', 'Release', 'Candidate', '1', 'please', 'visit', 'thedownloadpage,', 'Windows', 'sources', 'and', 'binaries', 'can', 'be', 'found', 'atwindows.php.net/qa/.The', 'second', 'Release', 'Candidate', 'will', 'be', 'released', 'on', 'the', '14th', 'of', 'September.', 'You', 'can', 'also', 'read', 'the', 'full', 'list', 'of', 'planned', 'releases', 'onour', 'wiki.Thank', 'you', 'for', 'helping', 'us', 'make', 'PHP', 'better.17', 'Aug', '2017PHP', '7.2.0', 'Beta', '3', 'ReleasedThe', 'PHP', 'development', 'team', 'announces', 'the', 'immediate', 'availability', 'of', 'PHP', '7.2.0', 'Beta', '3.', 'This', 'release', 'is', 'the', 'third', 'and', 'final', 'beta', 'for', '7.2.0.', 'All', 'users', 'of', 'PHP', 'are', 'encouraged', 'to', 'test', 'this', 'version', 'carefully,', 'and', 'report', 'any', 'bugs', 'and', 'incompatibilities', 'in', 'thebug', 'tracking', 'system.THIS', 'IS', 'A', 'DEVELOPMENT', 'PREVIEW', '-', 'DO', 'NOT', 'USE', 'IT', 'IN', 'PRODUCTION!For', 'more', 'information', 'on', 'the', 'new', 'features', 'and', 'other', 'changes,', 'you', 'can', 'read', 'theNEWSfile,', 'or', 'theUPGRADINGfile', 'for', 'a', 'complete', 'list', 'of', 'upgrading', 'notes.', 'These', 'files', 'can', 'also', 'be', 'found', 'in', 'the', 'release', 'archive.For', 'source', 'downloads', 'of', 'PHP', '7.2.0', 'Beta', '3', 'please', 'visit', 'thedownloadpage,', 'Windows', 'sources', 'and', 'binaries', 'can', 'be', 'found', 'atwindows.php.net/qa/.The', 'first', 'Release', 'Candidate', 'will', 'be', 'released', 'on', 'the', '31th', 'of', 'August.', 'You', 'can', 'also', 'read', 'the', 'full', 'list', 'of', 'planned', 'releases', 'onour', 'wiki.Thank', 'you', 'for', 'helping', 'us', 'make', 'PHP', 'better.06', 'Jul', '2017PHP', '7.2.0', 'Alpha', '3', 'ReleasedThe', 'PHP', 'development', 'team', 'announces', 'the', 'immediate', 'availability', 'of', 'PHP', '7.2.0', 'Alpha', '3.', 'This', 'release', 'contains', 'fixes', 'and', 'improvements', 'relative', 'to', 'Alpha', '2.', 'All', 'users', 'of', 'PHP', 'are', 'encouraged', 'to', 'test', 'this', 'version', 'carefully,', 'and', 'report', 'any', 'bugs', 'and', 'incompatibilities', 'in', 'thebug', 'tracking', 'system.THIS', 'IS', 'A', 'DEVELOPMENT', 'PREVIEW', '-', 'DO', 'NOT', 'USE', 'IT', 'IN', 'PRODUCTION!For', 'information', 'on', 'new', 'features', 'and', 'other', 'changes,', 'you', 'can', 'read', 'theNEWSfile,', 'or', 'theUPGRADINGfile', 'for', 'a', 'complete', 'list', 'of', 'upgrading', 'notes.', 'These', 'files', 'can', 'also', 'be', 'found', 'in', 'the', 'release', 'archive.For', 'source', 'downloads', 'of', 'PHP', '7.2.0', 'Alpha', '3', 'please', 'visit', 'thedownloadpage,', 'Windows', 'sources', 'and', 'binaries', 'can', 'be', 'found', 'onwindows.php.net/qa/.The', 'first', 'beta', 'will', 'be', 'released', 'on', 'the', '20th', 'of', 'July.', 'You', 'can', 'also', 'read', 'the', 'full', 'list', 'of', 'planned', 'releases', 'on', 'ourwiki.Thank', 'you', 'for', 'helping', 'us', 'make', 'PHP', 'better.Older', 'News', 'EntriesConferences', 'calling', 'for', 'papersphp[world]', '2018Upcoming', 'conferencesLaravelConf', 'Taiwan', '2018Mid-Atlantic', 'Developer', 'ConferenceInternational', 'PHP', 'Conference', '2018', '-', 'Fall', 'EditionCoderCruise', '2018', '-', 'The', 'Bahamas!User', 'Group', 'EventsSpecial', 'ThanksSocial', 'media@official_phpCopyright', '©', '2001-2018', 'The', 'PHP', 'GroupMy', 'PHP.netContactOther', 'PHP.net', 'sitesMirror', 'sitesPrivacy', 'policy']\n" + "['PHP:', 'Hypertext', 'PreprocessorDownloadsDocumentationGet', 'InvolvedHelpGetting', 'StartedIntroductionA', 'simple', 'tutorialLanguage', 'ReferenceBasic', 'syntaxTypesVariablesConstantsExpressionsOperatorsControl', 'StructuresFunctionsClasses', 'and', 'ObjectsNamespacesErrorsExceptionsGeneratorsReferences', 'ExplainedPredefined', 'VariablesPredefined', 'ExceptionsPredefined', 'Interfaces', 'and', 'ClassesContext', 'options', 'and', 'parametersSupported', 'Protocols', 'and', 'WrappersSecurityIntroductionGeneral', 'considerationsInstalled', 'as', 'CGI', 'binaryInstalled', 'as', 'an', 'Apache', 'moduleSession', 'SecurityFilesystem', 'SecurityDatabase', 'SecurityError', 'ReportingUsing', 'Register', 'GlobalsUser', 'Submitted', 'DataMagic', 'QuotesHiding', 'PHPKeeping', 'CurrentFeaturesHTTP', 'authentication', 'with', 'PHPCookiesSessionsDealing', 'with', 'XFormsHandling', 'file', 'uploadsUsing', 'remote', 'filesConnection', 'handlingPersistent', 'Database', 'ConnectionsSafe', 'ModeCommand', 'line', 'usageGarbage', 'CollectionDTrace', 'Dynamic', 'TracingFunction', 'ReferenceAffecting', \"PHP's\", 'BehaviourAudio', 'Formats', 'ManipulationAuthentication', 'ServicesCommand', 'Line', 'Specific', 'ExtensionsCompression', 'and', 'Archive', 'ExtensionsCredit', 'Card', 'ProcessingCryptography', 'ExtensionsDatabase', 'ExtensionsDate', 'and', 'Time', 'Related', 'ExtensionsFile', 'System', 'Related', 'ExtensionsHuman', 'Language', 'and', 'Character', 'Encoding', 'SupportImage', 'Processing', 'and', 'GenerationMail', 'Related', 'ExtensionsMathematical', 'ExtensionsNon-Text', 'MIME', 'OutputProcess', 'Control', 'ExtensionsOther', 'Basic', 'ExtensionsOther', 'ServicesSearch', 'Engine', 'ExtensionsServer', 'Specific', 'ExtensionsSession', 'ExtensionsText', 'ProcessingVariable', 'and', 'Type', 'Related', 'ExtensionsWeb', 'ServicesWindows', 'Only', 'ExtensionsXML', 'ManipulationGUI', 'ExtensionsKeyboard', 'Shortcuts?This', 'helpjNext', 'menu', 'itemkPrevious', 'menu', 'itemg', 'pPrevious', 'man', 'pageg', 'nNext', 'man', 'pageGScroll', 'to', 'bottomg', 'gScroll', 'to', 'topg', 'hGoto', 'homepageg', 'sGoto', 'search(current', 'page)/Focus', 'search', 'boxPHP', 'is', 'a', 'popular', 'general-purpose', 'scripting', 'language', 'that', 'is', 'especially', 'suited', 'to', 'web', 'development.Fast,', 'flexible', 'and', 'pragmatic,', 'PHP', 'powers', 'everything', 'from', 'your', 'blog', 'to', 'the', 'most', 'popular', 'websites', 'in', 'the', 'world.Download5.6.36·Release', 'Notes·Upgrading7.0.30·Release', 'Notes·Upgrading7.1.18·Release', 'Notes·Upgrading7.2.7·Release', 'Notes·Upgrading21', 'Jun', '2018PHP', '7.2.7', 'ReleasedPHP', '7.2.7', 'Release', 'AnnouncementThe', 'PHP', 'development', 'team', 'announces', 'the', 'immediate', 'availability', 'of', 'PHP', '7.2.7.', 'This', 'is', 'a', 'primarily', 'a', 'bugfix', 'release', 'which', 'includes', 'a', 'segfault', 'fix', 'for', 'opcache.PHP', '7.2', 'users', 'are', 'encouraged', 'to', 'upgrade', 'to', 'this', 'version.For', 'source', 'downloads', 'of', 'PHP', '7.2.7', 'please', 'visit', 'ourdownloads', 'page,', 'Windows', 'source', 'and', 'binaries', 'can', 'be', 'found', 'onwindows.php.net/download/.', 'The', 'list', 'of', 'changes', 'is', 'recorded', 'in', 'theChangeLog.21', 'Jun', '2018PHP', '7.3.0', 'alpha', '2', 'ReleasedThe', 'PHP', 'team', 'is', 'glad', 'to', 'announce', 'the', 'release', 'of', 'the', 'second', 'PHP', '7.3.0', 'version,', 'PHP', '7.3.0', 'Alpha', '2.', 'The', 'rough', 'outline', 'of', 'the', 'PHP', '7.3', 'release', 'cycle', 'is', 'specified', 'in', 'thePHP', 'Wiki.For', 'source', 'downloads', 'of', 'PHP', '7.3.0', 'Alpha', '2', 'please', 'visit', 'thedownload', 'page.', 'Windows', 'sources', 'and', 'binaries', 'can', 'be', 'found', 'onwindows.php.net/qa/.Please', 'carefully', 'test', 'this', 'version', 'and', 'report', 'any', 'issues', 'found', 'in', 'thebug', 'reporting', 'system.THIS', 'IS', 'A', 'DEVELOPMENT', 'PREVIEW', '-', 'DO', 'NOT', 'USE', 'IT', 'IN', 'PRODUCTION!For', 'more', 'information', 'on', 'the', 'new', 'features', 'and', 'other', 'changes,', 'you', 'can', 'read', 'theNEWSfile,', 'or', 'theUPGRADINGfile', 'for', 'a', 'complete', 'list', 'of', 'upgrading', 'notes.', 'These', 'files', 'can', 'also', 'be', 'found', 'in', 'the', 'release', 'archive.The', 'next', 'release', 'would', 'be', 'Alpha', '3,', 'planned', 'for', 'July', '5.The', 'signatures', 'for', 'the', 'release', 'can', 'be', 'found', 'inthe', 'manifestor', 'onthe', 'QA', 'site.Thank', 'you', 'for', 'helping', 'us', 'make', 'PHP', 'better.07', 'Jun', '2018PHP', '7.3.0', 'alpha', '1', 'ReleasedPHP', 'team', 'is', 'glad', 'to', 'announce', 'the', 'release', 'of', 'the', 'first', 'PHP', '7.3.0', 'version,', 'PHP', '7.3.0', 'Alpha', '1.', 'This', 'starts', 'the', 'PHP', '7.3', 'release', 'cycle,', 'the', 'rough', 'outline', 'of', 'which', 'is', 'specified', 'in', 'thePHP', 'Wiki.For', 'source', 'downloads', 'of', 'PHP', '7.3.0', 'Alpha', '1', 'please', 'visit', 'thedownload', 'page.Please', 'carefully', 'test', 'this', 'version', 'and', 'report', 'any', 'issues', 'found', 'in', 'thebug', 'reporting', 'system.Please', 'DO', 'NOT', 'use', 'this', 'version', 'in', 'production,', 'it', 'is', 'an', 'early', 'test', 'version.For', 'more', 'information', 'on', 'the', 'new', 'features', 'and', 'other', 'changes,', 'you', 'can', 'read', 'theNEWSfile,', 'or', 'theUPGRADINGfile', 'for', 'a', 'complete', 'list', 'of', 'upgrading', 'notes.', 'These', 'files', 'can', 'also', 'be', 'found', 'in', 'the', 'release', 'archive.The', 'next', 'release', 'would', 'be', 'Alpha', '2,', 'planned', 'for', 'June', '21.The', 'signatures', 'for', 'the', 'release', 'can', 'be', 'found', 'inthe', 'manifestor', 'onthe', 'QA', 'site.Thank', 'you', 'for', 'helping', 'us', 'make', 'PHP', 'better.25', 'May', '2018PHP', '7.1.18', 'ReleasedThe', 'PHP', 'development', 'team', 'announces', 'the', 'immediate', 'availability', 'of', 'PHP', '7.1.18.', 'All', 'PHP', '7.1', 'users', 'are', 'encouraged', 'to', 'upgrade', 'to', 'this', 'version.For', 'source', 'downloads', 'of', 'PHP', '7.1.18', 'please', 'visit', 'ourdownloads', 'page,', 'Windows', 'source', 'and', 'binaries', 'can', 'be', 'found', 'onwindows.php.net/download/.', 'The', 'list', 'of', 'changes', 'is', 'recorded', 'in', 'theChangeLog.24', 'May', '2018PHP', '7.2.6', 'ReleasedThe', 'PHP', 'development', 'team', 'announces', 'the', 'immediate', 'availability', 'of', 'PHP', '7.2.6.', 'This', 'is', 'a', 'primarily', 'a', 'bugfix', 'release', 'which', 'includes', 'a', 'memory', 'corruption', 'fix', 'for', 'EXIF.PHP', '7.2', 'users', 'are', 'encouraged', 'to', 'upgrade', 'to', 'this', 'version.For', 'source', 'downloads', 'of', 'PHP', '7.2.6', 'please', 'visit', 'ourdownloads', 'page,', 'Windows', 'source', 'and', 'binaries', 'can', 'be', 'found', 'onwindows.php.net/download/.', 'The', 'list', 'of', 'changes', 'is', 'recorded', 'in', 'theChangeLog.26', 'Apr', '2018PHP', '5.6.36', 'ReleasedThe', 'PHP', 'development', 'team', 'announces', 'the', 'immediate', 'availability', 'of', 'PHP', '5.6.36.', 'This', 'is', 'a', 'security', 'release.', 'Several', 'security', 'bugs', 'have', 'been', 'fixed', 'in', 'this', 'release.', 'All', 'PHP', '5.6', 'users', 'are', 'encouraged', 'to', 'upgrade', 'to', 'this', 'version.For', 'source', 'downloads', 'of', 'PHP', '5.6.36', 'please', 'visit', 'ourdownloads', 'page,', 'Windows', 'source', 'and', 'binaries', 'can', 'be', 'found', 'onwindows.php.net/download/.', 'The', 'list', 'of', 'changes', 'is', 'recorded', 'in', 'theChangeLog.26', 'Apr', '2018PHP', '7.1.17', 'ReleasedThe', 'PHP', 'development', 'team', 'announces', 'the', 'immediate', 'availability', 'of', 'PHP', '7.1.17.', 'This', 'is', 'a', 'security', 'fix', 'release,', 'containing', 'many', 'bugfixes.', 'All', 'PHP', '7.1', 'users', 'are', 'encouraged', 'to', 'upgrade', 'to', 'this', 'version.For', 'source', 'downloads', 'of', 'PHP', '7.1.17', 'please', 'visit', 'ourdownloads', 'page,', 'Windows', 'source', 'and', 'binaries', 'can', 'be', 'found', 'onwindows.php.net/download/.', 'The', 'list', 'of', 'changes', 'is', 'recorded', 'in', 'theChangeLog.26', 'Apr', '2018PHP', '7.0.30', 'ReleasedThe', 'PHP', 'development', 'team', 'announces', 'the', 'immediate', 'availability', 'of', 'PHP', '7.0.30.', 'This', 'is', 'a', 'security', 'release.', 'Several', 'security', 'bugs', 'have', 'been', 'fixed', 'in', 'this', 'release.', 'All', 'PHP', '7.0', 'users', 'are', 'encouraged', 'to', 'upgrade', 'to', 'this', 'version.For', 'source', 'downloads', 'of', 'PHP', '7.0.30', 'please', 'visit', 'ourdownloads', 'page,', 'Windows', 'source', 'and', 'binaries', 'can', 'be', 'found', 'onwindows.php.net/download/.', 'The', 'list', 'of', 'changes', 'is', 'recorded', 'in', 'theChangeLog.01', 'Feb', '2018PHP', '7.2.2', 'ReleasedThe', 'PHP', 'development', 'team', 'announces', 'the', 'immediate', 'availability', 'of', 'PHP', '7.2.2.', 'This', 'is', 'a', 'bugfix', 'release,', 'with', 'several', 'bug', 'fixes', 'included.All', 'PHP', '7.2', 'users', 'are', 'encouraged', 'to', 'upgrade', 'to', 'this', 'version.For', 'source', 'downloads', 'of', 'PHP', '7.2.2', 'please', 'visit', 'ourdownloads', 'page,', 'Windows', 'source', 'and', 'binaries', 'can', 'be', 'found', 'onwindows.php.net/download/.', 'The', 'list', 'of', 'changes', 'is', 'recorded', 'in', 'theChangeLog.12', 'Oct', '2017PHP', '7.2.0', 'Release', 'Candidate', '4', 'ReleasedThe', 'PHP', 'development', 'team', 'announces', 'the', 'immediate', 'availability', 'of', 'PHP', '7.2.0', 'RC4.', 'This', 'release', 'is', 'the', 'fourth', 'Release', 'Candidate', 'for', '7.2.0.', 'All', 'users', 'of', 'PHP', 'are', 'encouraged', 'to', 'test', 'this', 'version', 'carefully,', 'and', 'report', 'any', 'bugs', 'and', 'incompatibilities', 'in', 'thebug', 'tracking', 'system.THIS', 'IS', 'A', 'DEVELOPMENT', 'PREVIEW', '-', 'DO', 'NOT', 'USE', 'IT', 'IN', 'PRODUCTION!For', 'more', 'information', 'on', 'the', 'new', 'features', 'and', 'other', 'changes,', 'you', 'can', 'read', 'theNEWSfile,', 'or', 'theUPGRADINGfile', 'for', 'a', 'complete', 'list', 'of', 'upgrading', 'notes.', 'These', 'files', 'can', 'also', 'be', 'found', 'in', 'the', 'release', 'archive.For', 'source', 'downloads', 'of', 'PHP', '7.2.0', 'Release', 'Candidate', '4', 'please', 'visit', 'thedownloadpage,', 'Windows', 'sources', 'and', 'binaries', 'can', 'be', 'found', 'atwindows.php.net/qa/.The', 'next', 'Release', 'Candidate', 'will', 'be', 'announced', 'on', 'the', '26th', 'of', 'October.', 'You', 'can', 'also', 'read', 'the', 'full', 'list', 'of', 'planned', 'releases', 'onour', 'wiki.Thank', 'you', 'for', 'helping', 'us', 'make', 'PHP', 'better.28', 'Sep', '2017PHP', '7.2.0', 'Release', 'Candidate', '3', 'ReleasedThe', 'PHP', 'development', 'team', 'announces', 'the', 'immediate', 'availability', 'of', 'PHP', '7.2.0', 'RC3.', 'This', 'release', 'is', 'the', 'third', 'Release', 'Candidate', 'for', '7.2.0.', 'All', 'users', 'of', 'PHP', 'are', 'encouraged', 'to', 'test', 'this', 'version', 'carefully,', 'and', 'report', 'any', 'bugs', 'and', 'incompatibilities', 'in', 'thebug', 'tracking', 'system.THIS', 'IS', 'A', 'DEVELOPMENT', 'PREVIEW', '-', 'DO', 'NOT', 'USE', 'IT', 'IN', 'PRODUCTION!For', 'more', 'information', 'on', 'the', 'new', 'features', 'and', 'other', 'changes,', 'you', 'can', 'read', 'theNEWSfile,', 'or', 'theUPGRADINGfile', 'for', 'a', 'complete', 'list', 'of', 'upgrading', 'notes.', 'These', 'files', 'can', 'also', 'be', 'found', 'in', 'the', 'release', 'archive.For', 'source', 'downloads', 'of', 'PHP', '7.2.0', 'Release', 'Candidate', '3', 'please', 'visit', 'thedownloadpage,', 'Windows', 'sources', 'and', 'binaries', 'can', 'be', 'found', 'atwindows.php.net/qa/.The', 'next', 'Release', 'Candidate', 'will', 'be', 'announced', 'on', 'the', '12th', 'of', 'October.', 'You', 'can', 'also', 'read', 'the', 'full', 'list', 'of', 'planned', 'releases', 'onour', 'wiki.Thank', 'you', 'for', 'helping', 'us', 'make', 'PHP', 'better.31', 'Aug', '2017PHP', '7.2.0', 'Release', 'Candidate', '1', 'ReleasedThe', 'PHP', 'development', 'team', 'announces', 'the', 'immediate', 'availability', 'of', 'PHP', '7.2.0', 'Release', 'Candidate', '1.', 'This', 'release', 'is', 'the', 'first', 'Release', 'Candidate', 'for', '7.2.0.', 'All', 'users', 'of', 'PHP', 'are', 'encouraged', 'to', 'test', 'this', 'version', 'carefully,', 'and', 'report', 'any', 'bugs', 'and', 'incompatibilities', 'in', 'thebug', 'tracking', 'system.THIS', 'IS', 'A', 'DEVELOPMENT', 'PREVIEW', '-', 'DO', 'NOT', 'USE', 'IT', 'IN', 'PRODUCTION!For', 'more', 'information', 'on', 'the', 'new', 'features', 'and', 'other', 'changes,', 'you', 'can', 'read', 'theNEWSfile,', 'or', 'theUPGRADINGfile', 'for', 'a', 'complete', 'list', 'of', 'upgrading', 'notes.', 'These', 'files', 'can', 'also', 'be', 'found', 'in', 'the', 'release', 'archive.For', 'source', 'downloads', 'of', 'PHP', '7.2.0', 'Release', 'Candidate', '1', 'please', 'visit', 'thedownloadpage,', 'Windows', 'sources', 'and', 'binaries', 'can', 'be', 'found', 'atwindows.php.net/qa/.The', 'second', 'Release', 'Candidate', 'will', 'be', 'released', 'on', 'the', '14th', 'of', 'September.', 'You', 'can', 'also', 'read', 'the', 'full', 'list', 'of', 'planned', 'releases', 'onour', 'wiki.Thank', 'you', 'for', 'helping', 'us', 'make', 'PHP', 'better.17', 'Aug', '2017PHP', '7.2.0', 'Beta', '3', 'ReleasedThe', 'PHP', 'development', 'team', 'announces', 'the', 'immediate', 'availability', 'of', 'PHP', '7.2.0', 'Beta', '3.', 'This', 'release', 'is', 'the', 'third', 'and', 'final', 'beta', 'for', '7.2.0.', 'All', 'users', 'of', 'PHP', 'are', 'encouraged', 'to', 'test', 'this', 'version', 'carefully,', 'and', 'report', 'any', 'bugs', 'and', 'incompatibilities', 'in', 'thebug', 'tracking', 'system.THIS', 'IS', 'A', 'DEVELOPMENT', 'PREVIEW', '-', 'DO', 'NOT', 'USE', 'IT', 'IN', 'PRODUCTION!For', 'more', 'information', 'on', 'the', 'new', 'features', 'and', 'other', 'changes,', 'you', 'can', 'read', 'theNEWSfile,', 'or', 'theUPGRADINGfile', 'for', 'a', 'complete', 'list', 'of', 'upgrading', 'notes.', 'These', 'files', 'can', 'also', 'be', 'found', 'in', 'the', 'release', 'archive.For', 'source', 'downloads', 'of', 'PHP', '7.2.0', 'Beta', '3', 'please', 'visit', 'thedownloadpage,', 'Windows', 'sources', 'and', 'binaries', 'can', 'be', 'found', 'atwindows.php.net/qa/.The', 'first', 'Release', 'Candidate', 'will', 'be', 'released', 'on', 'the', '31th', 'of', 'August.', 'You', 'can', 'also', 'read', 'the', 'full', 'list', 'of', 'planned', 'releases', 'onour', 'wiki.Thank', 'you', 'for', 'helping', 'us', 'make', 'PHP', 'better.06', 'Jul', '2017PHP', '7.2.0', 'Alpha', '3', 'ReleasedThe', 'PHP', 'development', 'team', 'announces', 'the', 'immediate', 'availability', 'of', 'PHP', '7.2.0', 'Alpha', '3.', 'This', 'release', 'contains', 'fixes', 'and', 'improvements', 'relative', 'to', 'Alpha', '2.', 'All', 'users', 'of', 'PHP', 'are', 'encouraged', 'to', 'test', 'this', 'version', 'carefully,', 'and', 'report', 'any', 'bugs', 'and', 'incompatibilities', 'in', 'thebug', 'tracking', 'system.THIS', 'IS', 'A', 'DEVELOPMENT', 'PREVIEW', '-', 'DO', 'NOT', 'USE', 'IT', 'IN', 'PRODUCTION!For', 'information', 'on', 'new', 'features', 'and', 'other', 'changes,', 'you', 'can', 'read', 'theNEWSfile,', 'or', 'theUPGRADINGfile', 'for', 'a', 'complete', 'list', 'of', 'upgrading', 'notes.', 'These', 'files', 'can', 'also', 'be', 'found', 'in', 'the', 'release', 'archive.For', 'source', 'downloads', 'of', 'PHP', '7.2.0', 'Alpha', '3', 'please', 'visit', 'thedownloadpage,', 'Windows', 'sources', 'and', 'binaries', 'can', 'be', 'found', 'onwindows.php.net/qa/.The', 'first', 'beta', 'will', 'be', 'released', 'on', 'the', '20th', 'of', 'July.', 'You', 'can', 'also', 'read', 'the', 'full', 'list', 'of', 'planned', 'releases', 'on', 'ourwiki.Thank', 'you', 'for', 'helping', 'us', 'make', 'PHP', 'better.Older', 'News', 'EntriesConferences', 'calling', 'for', 'papersphp[world]', '2018Upcoming', 'conferencesLaravelConf', 'Taiwan', '2018Mid-Atlantic', 'Developer', 'ConferenceInternational', 'PHP', 'Conference', '2018', '-', 'Fall', 'EditionCoderCruise', '2018', '-', 'The', 'Bahamas!User', 'Group', 'EventsSpecial', 'ThanksSocial', 'media@official_phpCopyright', '©', '2001-2018', 'The', 'PHP', 'GroupMy', 'PHP.netContactOther', 'PHP.net', 'sitesMirror', 'sitesPrivacy', 'policy']\n" ] } ], @@ -145,7 +148,7 @@ }, { "cell_type": "code", - "execution_count": 19, + "execution_count": 6, "metadata": {}, "outputs": [ { @@ -162,7 +165,7 @@ "ReferenceBasic:1\n", "syntaxTypesVariablesConstantsExpressionsOperatorsControl:1\n", "StructuresFunctionsClasses:1\n", - "and:41\n", + "and:44\n", "ObjectsNamespacesErrorsExceptionsGeneratorsReferences:1\n", "ExplainedPredefined:1\n", "VariablesPredefined:1\n", @@ -264,7 +267,7 @@ "pageg:1\n", "nNext:1\n", "pageGScroll:1\n", - "to:25\n", + "to:26\n", "bottomg:1\n", "gScroll:1\n", "topg:1\n", @@ -275,8 +278,8 @@ "page)/Focus:1\n", "search:1\n", "boxPHP:1\n", - "is:22\n", - "a:15\n", + "is:24\n", + "a:18\n", "popular:2\n", "general-purpose:1\n", "scripting:1\n", @@ -288,147 +291,175 @@ "development.Fast,:1\n", "flexible:1\n", "pragmatic,:1\n", - "PHP:60\n", + "PHP:65\n", "powers:1\n", "everything:1\n", "from:1\n", "your:1\n", "blog:1\n", - "the:44\n", + "the:50\n", "most:1\n", "websites:1\n", - "in:24\n", + "in:27\n", "world.Download5.6.36·Release:1\n", "Notes·Upgrading7.0.30·Release:1\n", "Notes·Upgrading7.1.18·Release:1\n", - "Notes·Upgrading7.2.6·Release:1\n", - "Notes·Upgrading07:1\n", - "Jun:1\n", - "2018PHP:8\n", - "7.3.0:4\n", - "alpha:1\n", + "Notes·Upgrading7.2.7·Release:1\n", + "Notes·Upgrading21:1\n", + "Jun:3\n", + "2018PHP:9\n", + "7.2.7:3\n", + "ReleasedPHP:2\n", + "Release:15\n", + "AnnouncementThe:1\n", + "development:12\n", + "team:14\n", + "announces:12\n", + "immediate:12\n", + "availability:12\n", + "of:59\n", + "7.2.7.:1\n", + "This:12\n", + "primarily:2\n", + "bugfix:3\n", + "release:22\n", + "which:3\n", + "includes:2\n", + "segfault:1\n", + "fix:3\n", + "for:25\n", + "opcache.PHP:1\n", + "7.2:3\n", + "users:12\n", + "are:12\n", + "encouraged:12\n", + "upgrade:7\n", + "this:17\n", + "version.For:8\n", + "source:21\n", + "downloads:14\n", + "please:14\n", + "visit:14\n", + "ourdownloads:7\n", + "page,:7\n", + "Windows:13\n", + "binaries:13\n", + "can:34\n", + "be:29\n", + "found:24\n", + "onwindows.php.net/download/.:7\n", + "The:10\n", + "list:19\n", + "changes:7\n", + "recorded:7\n", + "theChangeLog.21:1\n", + "7.3.0:8\n", + "alpha:2\n", + "2:2\n", + "ReleasedThe:12\n", + "glad:2\n", + "announce:2\n", + "second:2\n", + "version,:2\n", + "Alpha:10\n", + "2.:2\n", + "rough:2\n", + "outline:2\n", + "7.3:2\n", + "cycle:1\n", + "specified:2\n", + "thePHP:2\n", + "Wiki.For:2\n", + "thedownload:2\n", + "page.:1\n", + "sources:6\n", + "onwindows.php.net/qa/.Please:1\n", + "carefully:2\n", + "test:8\n", + "version:8\n", + "report:7\n", + "any:7\n", + "issues:2\n", + "thebug:7\n", + "reporting:2\n", + "system.THIS:6\n", + "IS:6\n", + "A:6\n", + "DEVELOPMENT:6\n", + "PREVIEW:6\n", + "-:8\n", + "DO:7\n", + "NOT:7\n", + "USE:6\n", + "IT:6\n", + "IN:6\n", + "PRODUCTION!For:6\n", + "more:6\n", + "information:7\n", + "on:13\n", + "new:7\n", + "features:7\n", + "other:7\n", + "changes,:7\n", + "you:14\n", + "read:12\n", + "theNEWSfile,:7\n", + "or:7\n", + "theUPGRADINGfile:7\n", + "complete:7\n", + "upgrading:7\n", + "notes.:7\n", + "These:7\n", + "files:7\n", + "also:12\n", + "archive.The:2\n", + "next:4\n", + "would:2\n", + "3,:1\n", + "planned:7\n", + "July:1\n", + "5.The:1\n", + "signatures:2\n", + "inthe:2\n", + "manifestor:2\n", + "onthe:2\n", + "QA:2\n", + "site.Thank:2\n", + "helping:7\n", + "us:7\n", + "make:7\n", + "better.07:1\n", "1:4\n", - "ReleasedPHP:1\n", - "team:13\n", - "glad:1\n", - "announce:1\n", - "release:17\n", - "of:55\n", "first:4\n", - "version,:1\n", - "Alpha:7\n", "1.:2\n", - "This:12\n", "starts:1\n", - "7.3:1\n", "cycle,:1\n", - "rough:1\n", - "outline:1\n", - "which:3\n", - "specified:1\n", - "thePHP:1\n", - "Wiki.For:1\n", - "source:20\n", - "downloads:13\n", - "please:13\n", - "visit:13\n", - "thedownload:1\n", "page.Please:1\n", - "carefully:1\n", - "test:7\n", - "this:16\n", - "version:7\n", - "report:6\n", - "any:6\n", - "issues:1\n", - "found:20\n", - "thebug:6\n", - "reporting:1\n", "system.Please:1\n", - "DO:6\n", - "NOT:6\n", "use:1\n", "production,:1\n", "it:1\n", "early:1\n", - "version.For:8\n", - "more:5\n", - "information:6\n", - "on:12\n", - "new:6\n", - "features:6\n", - "other:6\n", - "changes,:6\n", - "you:12\n", - "can:30\n", - "read:11\n", - "theNEWSfile,:6\n", - "or:6\n", - "theUPGRADINGfile:6\n", - "for:20\n", - "complete:6\n", - "list:18\n", - "upgrading:6\n", - "notes.:6\n", - "These:6\n", - "files:6\n", - "also:12\n", - "be:25\n", - "archive.The:1\n", - "next:3\n", - "would:1\n", "2,:1\n", - "planned:6\n", "June:1\n", "21.The:1\n", - "signatures:1\n", - "inthe:1\n", - "manifestor:1\n", - "onthe:1\n", - "QA:1\n", - "site.Thank:1\n", - "helping:6\n", - "us:6\n", - "make:6\n", "better.25:1\n", "May:2\n", "7.1.18:2\n", - "ReleasedThe:12\n", - "development:12\n", - "announces:12\n", - "immediate:12\n", - "availability:12\n", "7.1.18.:1\n", "All:9\n", "7.1:2\n", - "users:12\n", - "are:12\n", - "encouraged:12\n", - "upgrade:7\n", - "ourdownloads:7\n", - "page,:7\n", - "Windows:12\n", - "binaries:12\n", - "onwindows.php.net/download/.:7\n", - "The:9\n", - "changes:7\n", - "recorded:7\n", "theChangeLog.24:1\n", "7.2.6:2\n", "7.2.6.:1\n", - "primarily:1\n", - "bugfix:2\n", - "includes:1\n", "memory:1\n", "corruption:1\n", - "fix:2\n", "EXIF.PHP:1\n", - "7.2:3\n", - "theChangeLog.26:4\n", - "Apr:4\n", + "theChangeLog.26:3\n", + "Apr:3\n", "5.6.36:2\n", "5.6.36.:1\n", - "security:6\n", + "security:5\n", "release.:4\n", "Several:2\n", "bugs:7\n", @@ -445,24 +476,18 @@ "7.0.30:2\n", "7.0.30.:1\n", "7.0:1\n", - "7.2.5:2\n", - "7.2.5.:1\n", - "contains:2\n", - "several:2\n", - "minor:1\n", - "bug:2\n", - "fixes.All:1\n", "theChangeLog.01:1\n", "Feb:1\n", "7.2.2:2\n", "7.2.2.:1\n", + "several:1\n", + "bug:1\n", "fixes:2\n", "included.All:1\n", "theChangeLog.12:1\n", "Oct:1\n", "2017PHP:5\n", "7.2.0:15\n", - "Release:14\n", "Candidate:14\n", "4:2\n", "RC4.:1\n", @@ -471,19 +496,8 @@ "carefully,:5\n", "incompatibilities:5\n", "tracking:5\n", - "system.THIS:5\n", - "IS:5\n", - "A:5\n", - "DEVELOPMENT:5\n", - "PREVIEW:5\n", - "-:7\n", - "USE:5\n", - "IT:5\n", - "IN:5\n", - "PRODUCTION!For:5\n", "archive.For:5\n", "thedownloadpage,:5\n", - "sources:5\n", "atwindows.php.net/qa/.The:4\n", "will:5\n", "announced:2\n", @@ -502,7 +516,6 @@ "12th:1\n", "better.31:1\n", "Aug:2\n", - "second:1\n", "released:3\n", "14th:1\n", "September.:1\n", @@ -515,9 +528,9 @@ "August.:1\n", "better.06:1\n", "Jul:1\n", + "contains:1\n", "improvements:1\n", "relative:1\n", - "2.:1\n", "onwindows.php.net/qa/.The:1\n", "20th:1\n", "July.:1\n", @@ -569,7 +582,7 @@ }, { "cell_type": "code", - "execution_count": 27, + "execution_count": 7, "metadata": {}, "outputs": [ { @@ -603,14 +616,14 @@ }, { "cell_type": "code", - "execution_count": 28, + "execution_count": 8, "metadata": {}, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ - "['PHP:', 'Hypertext', 'PreprocessorDownloadsDocumentationGet', 'InvolvedHelpGetting', 'StartedIntroductionA', 'simple', 'tutorialLanguage', 'ReferenceBasic', 'syntaxTypesVariablesConstantsExpressionsOperatorsControl', 'StructuresFunctionsClasses', 'ObjectsNamespacesErrorsExceptionsGeneratorsReferences', 'ExplainedPredefined', 'VariablesPredefined', 'ExceptionsPredefined', 'Interfaces', 'ClassesContext', 'options', 'parametersSupported', 'Protocols', 'WrappersSecurityIntroductionGeneral', 'considerationsInstalled', 'CGI', 'binaryInstalled', 'Apache', 'moduleSession', 'SecurityFilesystem', 'SecurityDatabase', 'SecurityError', 'ReportingUsing', 'Register', 'GlobalsUser', 'Submitted', 'DataMagic', 'QuotesHiding', 'PHPKeeping', 'CurrentFeaturesHTTP', 'authentication', 'PHPCookiesSessionsDealing', 'XFormsHandling', 'file', 'uploadsUsing', 'remote', 'filesConnection', 'handlingPersistent', 'Database', 'ConnectionsSafe', 'ModeCommand', 'line', 'usageGarbage', 'CollectionDTrace', 'Dynamic', 'TracingFunction', 'ReferenceAffecting', \"PHP's\", 'BehaviourAudio', 'Formats', 'ManipulationAuthentication', 'ServicesCommand', 'Line', 'Specific', 'ExtensionsCompression', 'Archive', 'ExtensionsCredit', 'Card', 'ProcessingCryptography', 'ExtensionsDatabase', 'ExtensionsDate', 'Time', 'Related', 'ExtensionsFile', 'System', 'Related', 'ExtensionsHuman', 'Language', 'Character', 'Encoding', 'SupportImage', 'Processing', 'GenerationMail', 'Related', 'ExtensionsMathematical', 'ExtensionsNon-Text', 'MIME', 'OutputProcess', 'Control', 'ExtensionsOther', 'Basic', 'ExtensionsOther', 'ServicesSearch', 'Engine', 'ExtensionsServer', 'Specific', 'ExtensionsSession', 'ExtensionsText', 'ProcessingVariable', 'Type', 'Related', 'ExtensionsWeb', 'ServicesWindows', 'Only', 'ExtensionsXML', 'ManipulationGUI', 'ExtensionsKeyboard', 'Shortcuts?This', 'helpjNext', 'menu', 'itemkPrevious', 'menu', 'itemg', 'pPrevious', 'man', 'pageg', 'nNext', 'man', 'pageGScroll', 'bottomg', 'gScroll', 'topg', 'hGoto', 'homepageg', 'sGoto', 'search(current', 'page)/Focus', 'search', 'boxPHP', 'popular', 'general-purpose', 'scripting', 'language', 'especially', 'suited', 'web', 'development.Fast,', 'flexible', 'pragmatic,', 'PHP', 'powers', 'everything', 'blog', 'popular', 'websites', 'world.Download5.6.36·Release', 'Notes·Upgrading7.0.30·Release', 'Notes·Upgrading7.1.18·Release', 'Notes·Upgrading7.2.6·Release', 'Notes·Upgrading07', 'Jun', '2018PHP', '7.3.0', 'alpha', '1', 'ReleasedPHP', 'team', 'glad', 'announce', 'release', 'first', 'PHP', '7.3.0', 'version,', 'PHP', '7.3.0', 'Alpha', '1.', 'This', 'starts', 'PHP', '7.3', 'release', 'cycle,', 'rough', 'outline', 'specified', 'thePHP', 'Wiki.For', 'source', 'downloads', 'PHP', '7.3.0', 'Alpha', '1', 'please', 'visit', 'thedownload', 'page.Please', 'carefully', 'test', 'version', 'report', 'issues', 'found', 'thebug', 'reporting', 'system.Please', 'DO', 'NOT', 'use', 'version', 'production,', 'early', 'test', 'version.For', 'information', 'new', 'features', 'changes,', 'read', 'theNEWSfile,', 'theUPGRADINGfile', 'complete', 'list', 'upgrading', 'notes.', 'These', 'files', 'also', 'found', 'release', 'archive.The', 'next', 'release', 'would', 'Alpha', '2,', 'planned', 'June', '21.The', 'signatures', 'release', 'found', 'inthe', 'manifestor', 'onthe', 'QA', 'site.Thank', 'helping', 'us', 'make', 'PHP', 'better.25', 'May', '2018PHP', '7.1.18', 'ReleasedThe', 'PHP', 'development', 'team', 'announces', 'immediate', 'availability', 'PHP', '7.1.18.', 'All', 'PHP', '7.1', 'users', 'encouraged', 'upgrade', 'version.For', 'source', 'downloads', 'PHP', '7.1.18', 'please', 'visit', 'ourdownloads', 'page,', 'Windows', 'source', 'binaries', 'found', 'onwindows.php.net/download/.', 'The', 'list', 'changes', 'recorded', 'theChangeLog.24', 'May', '2018PHP', '7.2.6', 'ReleasedThe', 'PHP', 'development', 'team', 'announces', 'immediate', 'availability', 'PHP', '7.2.6.', 'This', 'primarily', 'bugfix', 'release', 'includes', 'memory', 'corruption', 'fix', 'EXIF.PHP', '7.2', 'users', 'encouraged', 'upgrade', 'version.For', 'source', 'downloads', 'PHP', '7.2.6', 'please', 'visit', 'ourdownloads', 'page,', 'Windows', 'source', 'binaries', 'found', 'onwindows.php.net/download/.', 'The', 'list', 'changes', 'recorded', 'theChangeLog.26', 'Apr', '2018PHP', '5.6.36', 'ReleasedThe', 'PHP', 'development', 'team', 'announces', 'immediate', 'availability', 'PHP', '5.6.36.', 'This', 'security', 'release.', 'Several', 'security', 'bugs', 'fixed', 'release.', 'All', 'PHP', '5.6', 'users', 'encouraged', 'upgrade', 'version.For', 'source', 'downloads', 'PHP', '5.6.36', 'please', 'visit', 'ourdownloads', 'page,', 'Windows', 'source', 'binaries', 'found', 'onwindows.php.net/download/.', 'The', 'list', 'changes', 'recorded', 'theChangeLog.26', 'Apr', '2018PHP', '7.1.17', 'ReleasedThe', 'PHP', 'development', 'team', 'announces', 'immediate', 'availability', 'PHP', '7.1.17.', 'This', 'security', 'fix', 'release,', 'containing', 'many', 'bugfixes.', 'All', 'PHP', '7.1', 'users', 'encouraged', 'upgrade', 'version.For', 'source', 'downloads', 'PHP', '7.1.17', 'please', 'visit', 'ourdownloads', 'page,', 'Windows', 'source', 'binaries', 'found', 'onwindows.php.net/download/.', 'The', 'list', 'changes', 'recorded', 'theChangeLog.26', 'Apr', '2018PHP', '7.0.30', 'ReleasedThe', 'PHP', 'development', 'team', 'announces', 'immediate', 'availability', 'PHP', '7.0.30.', 'This', 'security', 'release.', 'Several', 'security', 'bugs', 'fixed', 'release.', 'All', 'PHP', '7.0', 'users', 'encouraged', 'upgrade', 'version.For', 'source', 'downloads', 'PHP', '7.0.30', 'please', 'visit', 'ourdownloads', 'page,', 'Windows', 'source', 'binaries', 'found', 'onwindows.php.net/download/.', 'The', 'list', 'changes', 'recorded', 'theChangeLog.26', 'Apr', '2018PHP', '7.2.5', 'ReleasedThe', 'PHP', 'development', 'team', 'announces', 'immediate', 'availability', 'PHP', '7.2.5.', 'This', 'security', 'release', 'also', 'contains', 'several', 'minor', 'bug', 'fixes.All', 'PHP', '7.2', 'users', 'encouraged', 'upgrade', 'version.For', 'source', 'downloads', 'PHP', '7.2.5', 'please', 'visit', 'ourdownloads', 'page,', 'Windows', 'source', 'binaries', 'found', 'onwindows.php.net/download/.', 'The', 'list', 'changes', 'recorded', 'theChangeLog.01', 'Feb', '2018PHP', '7.2.2', 'ReleasedThe', 'PHP', 'development', 'team', 'announces', 'immediate', 'availability', 'PHP', '7.2.2.', 'This', 'bugfix', 'release,', 'several', 'bug', 'fixes', 'included.All', 'PHP', '7.2', 'users', 'encouraged', 'upgrade', 'version.For', 'source', 'downloads', 'PHP', '7.2.2', 'please', 'visit', 'ourdownloads', 'page,', 'Windows', 'source', 'binaries', 'found', 'onwindows.php.net/download/.', 'The', 'list', 'changes', 'recorded', 'theChangeLog.12', 'Oct', '2017PHP', '7.2.0', 'Release', 'Candidate', '4', 'ReleasedThe', 'PHP', 'development', 'team', 'announces', 'immediate', 'availability', 'PHP', '7.2.0', 'RC4.', 'This', 'release', 'fourth', 'Release', 'Candidate', '7.2.0.', 'All', 'users', 'PHP', 'encouraged', 'test', 'version', 'carefully,', 'report', 'bugs', 'incompatibilities', 'thebug', 'tracking', 'system.THIS', 'IS', 'A', 'DEVELOPMENT', 'PREVIEW', '-', 'DO', 'NOT', 'USE', 'IT', 'IN', 'PRODUCTION!For', 'information', 'new', 'features', 'changes,', 'read', 'theNEWSfile,', 'theUPGRADINGfile', 'complete', 'list', 'upgrading', 'notes.', 'These', 'files', 'also', 'found', 'release', 'archive.For', 'source', 'downloads', 'PHP', '7.2.0', 'Release', 'Candidate', '4', 'please', 'visit', 'thedownloadpage,', 'Windows', 'sources', 'binaries', 'found', 'atwindows.php.net/qa/.The', 'next', 'Release', 'Candidate', 'announced', '26th', 'October.', 'You', 'also', 'read', 'full', 'list', 'planned', 'releases', 'onour', 'wiki.Thank', 'helping', 'us', 'make', 'PHP', 'better.28', 'Sep', '2017PHP', '7.2.0', 'Release', 'Candidate', '3', 'ReleasedThe', 'PHP', 'development', 'team', 'announces', 'immediate', 'availability', 'PHP', '7.2.0', 'RC3.', 'This', 'release', 'third', 'Release', 'Candidate', '7.2.0.', 'All', 'users', 'PHP', 'encouraged', 'test', 'version', 'carefully,', 'report', 'bugs', 'incompatibilities', 'thebug', 'tracking', 'system.THIS', 'IS', 'A', 'DEVELOPMENT', 'PREVIEW', '-', 'DO', 'NOT', 'USE', 'IT', 'IN', 'PRODUCTION!For', 'information', 'new', 'features', 'changes,', 'read', 'theNEWSfile,', 'theUPGRADINGfile', 'complete', 'list', 'upgrading', 'notes.', 'These', 'files', 'also', 'found', 'release', 'archive.For', 'source', 'downloads', 'PHP', '7.2.0', 'Release', 'Candidate', '3', 'please', 'visit', 'thedownloadpage,', 'Windows', 'sources', 'binaries', 'found', 'atwindows.php.net/qa/.The', 'next', 'Release', 'Candidate', 'announced', '12th', 'October.', 'You', 'also', 'read', 'full', 'list', 'planned', 'releases', 'onour', 'wiki.Thank', 'helping', 'us', 'make', 'PHP', 'better.31', 'Aug', '2017PHP', '7.2.0', 'Release', 'Candidate', '1', 'ReleasedThe', 'PHP', 'development', 'team', 'announces', 'immediate', 'availability', 'PHP', '7.2.0', 'Release', 'Candidate', '1.', 'This', 'release', 'first', 'Release', 'Candidate', '7.2.0.', 'All', 'users', 'PHP', 'encouraged', 'test', 'version', 'carefully,', 'report', 'bugs', 'incompatibilities', 'thebug', 'tracking', 'system.THIS', 'IS', 'A', 'DEVELOPMENT', 'PREVIEW', '-', 'DO', 'NOT', 'USE', 'IT', 'IN', 'PRODUCTION!For', 'information', 'new', 'features', 'changes,', 'read', 'theNEWSfile,', 'theUPGRADINGfile', 'complete', 'list', 'upgrading', 'notes.', 'These', 'files', 'also', 'found', 'release', 'archive.For', 'source', 'downloads', 'PHP', '7.2.0', 'Release', 'Candidate', '1', 'please', 'visit', 'thedownloadpage,', 'Windows', 'sources', 'binaries', 'found', 'atwindows.php.net/qa/.The', 'second', 'Release', 'Candidate', 'released', '14th', 'September.', 'You', 'also', 'read', 'full', 'list', 'planned', 'releases', 'onour', 'wiki.Thank', 'helping', 'us', 'make', 'PHP', 'better.17', 'Aug', '2017PHP', '7.2.0', 'Beta', '3', 'ReleasedThe', 'PHP', 'development', 'team', 'announces', 'immediate', 'availability', 'PHP', '7.2.0', 'Beta', '3.', 'This', 'release', 'third', 'final', 'beta', '7.2.0.', 'All', 'users', 'PHP', 'encouraged', 'test', 'version', 'carefully,', 'report', 'bugs', 'incompatibilities', 'thebug', 'tracking', 'system.THIS', 'IS', 'A', 'DEVELOPMENT', 'PREVIEW', '-', 'DO', 'NOT', 'USE', 'IT', 'IN', 'PRODUCTION!For', 'information', 'new', 'features', 'changes,', 'read', 'theNEWSfile,', 'theUPGRADINGfile', 'complete', 'list', 'upgrading', 'notes.', 'These', 'files', 'also', 'found', 'release', 'archive.For', 'source', 'downloads', 'PHP', '7.2.0', 'Beta', '3', 'please', 'visit', 'thedownloadpage,', 'Windows', 'sources', 'binaries', 'found', 'atwindows.php.net/qa/.The', 'first', 'Release', 'Candidate', 'released', '31th', 'August.', 'You', 'also', 'read', 'full', 'list', 'planned', 'releases', 'onour', 'wiki.Thank', 'helping', 'us', 'make', 'PHP', 'better.06', 'Jul', '2017PHP', '7.2.0', 'Alpha', '3', 'ReleasedThe', 'PHP', 'development', 'team', 'announces', 'immediate', 'availability', 'PHP', '7.2.0', 'Alpha', '3.', 'This', 'release', 'contains', 'fixes', 'improvements', 'relative', 'Alpha', '2.', 'All', 'users', 'PHP', 'encouraged', 'test', 'version', 'carefully,', 'report', 'bugs', 'incompatibilities', 'thebug', 'tracking', 'system.THIS', 'IS', 'A', 'DEVELOPMENT', 'PREVIEW', '-', 'DO', 'NOT', 'USE', 'IT', 'IN', 'PRODUCTION!For', 'information', 'new', 'features', 'changes,', 'read', 'theNEWSfile,', 'theUPGRADINGfile', 'complete', 'list', 'upgrading', 'notes.', 'These', 'files', 'also', 'found', 'release', 'archive.For', 'source', 'downloads', 'PHP', '7.2.0', 'Alpha', '3', 'please', 'visit', 'thedownloadpage,', 'Windows', 'sources', 'binaries', 'found', 'onwindows.php.net/qa/.The', 'first', 'beta', 'released', '20th', 'July.', 'You', 'also', 'read', 'full', 'list', 'planned', 'releases', 'ourwiki.Thank', 'helping', 'us', 'make', 'PHP', 'better.Older', 'News', 'EntriesConferences', 'calling', 'papersphp[world]', '2018Upcoming', 'conferencesLaravelConf', 'Taiwan', '2018Mid-Atlantic', 'Developer', 'ConferenceInternational', 'PHP', 'Conference', '2018', '-', 'Fall', 'EditionCoderCruise', '2018', '-', 'The', 'Bahamas!User', 'Group', 'EventsSpecial', 'ThanksSocial', 'media@official_phpCopyright', '©', '2001-2018', 'The', 'PHP', 'GroupMy', 'PHP.netContactOther', 'PHP.net', 'sitesMirror', 'sitesPrivacy', 'policy']\n" + "['PHP:', 'Hypertext', 'PreprocessorDownloadsDocumentationGet', 'InvolvedHelpGetting', 'StartedIntroductionA', 'simple', 'tutorialLanguage', 'ReferenceBasic', 'syntaxTypesVariablesConstantsExpressionsOperatorsControl', 'StructuresFunctionsClasses', 'ObjectsNamespacesErrorsExceptionsGeneratorsReferences', 'ExplainedPredefined', 'VariablesPredefined', 'ExceptionsPredefined', 'Interfaces', 'ClassesContext', 'options', 'parametersSupported', 'Protocols', 'WrappersSecurityIntroductionGeneral', 'considerationsInstalled', 'CGI', 'binaryInstalled', 'Apache', 'moduleSession', 'SecurityFilesystem', 'SecurityDatabase', 'SecurityError', 'ReportingUsing', 'Register', 'GlobalsUser', 'Submitted', 'DataMagic', 'QuotesHiding', 'PHPKeeping', 'CurrentFeaturesHTTP', 'authentication', 'PHPCookiesSessionsDealing', 'XFormsHandling', 'file', 'uploadsUsing', 'remote', 'filesConnection', 'handlingPersistent', 'Database', 'ConnectionsSafe', 'ModeCommand', 'line', 'usageGarbage', 'CollectionDTrace', 'Dynamic', 'TracingFunction', 'ReferenceAffecting', \"PHP's\", 'BehaviourAudio', 'Formats', 'ManipulationAuthentication', 'ServicesCommand', 'Line', 'Specific', 'ExtensionsCompression', 'Archive', 'ExtensionsCredit', 'Card', 'ProcessingCryptography', 'ExtensionsDatabase', 'ExtensionsDate', 'Time', 'Related', 'ExtensionsFile', 'System', 'Related', 'ExtensionsHuman', 'Language', 'Character', 'Encoding', 'SupportImage', 'Processing', 'GenerationMail', 'Related', 'ExtensionsMathematical', 'ExtensionsNon-Text', 'MIME', 'OutputProcess', 'Control', 'ExtensionsOther', 'Basic', 'ExtensionsOther', 'ServicesSearch', 'Engine', 'ExtensionsServer', 'Specific', 'ExtensionsSession', 'ExtensionsText', 'ProcessingVariable', 'Type', 'Related', 'ExtensionsWeb', 'ServicesWindows', 'Only', 'ExtensionsXML', 'ManipulationGUI', 'ExtensionsKeyboard', 'Shortcuts?This', 'helpjNext', 'menu', 'itemkPrevious', 'menu', 'itemg', 'pPrevious', 'man', 'pageg', 'nNext', 'man', 'pageGScroll', 'bottomg', 'gScroll', 'topg', 'hGoto', 'homepageg', 'sGoto', 'search(current', 'page)/Focus', 'search', 'boxPHP', 'popular', 'general-purpose', 'scripting', 'language', 'especially', 'suited', 'web', 'development.Fast,', 'flexible', 'pragmatic,', 'PHP', 'powers', 'everything', 'blog', 'popular', 'websites', 'world.Download5.6.36·Release', 'Notes·Upgrading7.0.30·Release', 'Notes·Upgrading7.1.18·Release', 'Notes·Upgrading7.2.7·Release', 'Notes·Upgrading21', 'Jun', '2018PHP', '7.2.7', 'ReleasedPHP', '7.2.7', 'Release', 'AnnouncementThe', 'PHP', 'development', 'team', 'announces', 'immediate', 'availability', 'PHP', '7.2.7.', 'This', 'primarily', 'bugfix', 'release', 'includes', 'segfault', 'fix', 'opcache.PHP', '7.2', 'users', 'encouraged', 'upgrade', 'version.For', 'source', 'downloads', 'PHP', '7.2.7', 'please', 'visit', 'ourdownloads', 'page,', 'Windows', 'source', 'binaries', 'found', 'onwindows.php.net/download/.', 'The', 'list', 'changes', 'recorded', 'theChangeLog.21', 'Jun', '2018PHP', '7.3.0', 'alpha', '2', 'ReleasedThe', 'PHP', 'team', 'glad', 'announce', 'release', 'second', 'PHP', '7.3.0', 'version,', 'PHP', '7.3.0', 'Alpha', '2.', 'The', 'rough', 'outline', 'PHP', '7.3', 'release', 'cycle', 'specified', 'thePHP', 'Wiki.For', 'source', 'downloads', 'PHP', '7.3.0', 'Alpha', '2', 'please', 'visit', 'thedownload', 'page.', 'Windows', 'sources', 'binaries', 'found', 'onwindows.php.net/qa/.Please', 'carefully', 'test', 'version', 'report', 'issues', 'found', 'thebug', 'reporting', 'system.THIS', 'IS', 'A', 'DEVELOPMENT', 'PREVIEW', '-', 'DO', 'NOT', 'USE', 'IT', 'IN', 'PRODUCTION!For', 'information', 'new', 'features', 'changes,', 'read', 'theNEWSfile,', 'theUPGRADINGfile', 'complete', 'list', 'upgrading', 'notes.', 'These', 'files', 'also', 'found', 'release', 'archive.The', 'next', 'release', 'would', 'Alpha', '3,', 'planned', 'July', '5.The', 'signatures', 'release', 'found', 'inthe', 'manifestor', 'onthe', 'QA', 'site.Thank', 'helping', 'us', 'make', 'PHP', 'better.07', 'Jun', '2018PHP', '7.3.0', 'alpha', '1', 'ReleasedPHP', 'team', 'glad', 'announce', 'release', 'first', 'PHP', '7.3.0', 'version,', 'PHP', '7.3.0', 'Alpha', '1.', 'This', 'starts', 'PHP', '7.3', 'release', 'cycle,', 'rough', 'outline', 'specified', 'thePHP', 'Wiki.For', 'source', 'downloads', 'PHP', '7.3.0', 'Alpha', '1', 'please', 'visit', 'thedownload', 'page.Please', 'carefully', 'test', 'version', 'report', 'issues', 'found', 'thebug', 'reporting', 'system.Please', 'DO', 'NOT', 'use', 'version', 'production,', 'early', 'test', 'version.For', 'information', 'new', 'features', 'changes,', 'read', 'theNEWSfile,', 'theUPGRADINGfile', 'complete', 'list', 'upgrading', 'notes.', 'These', 'files', 'also', 'found', 'release', 'archive.The', 'next', 'release', 'would', 'Alpha', '2,', 'planned', 'June', '21.The', 'signatures', 'release', 'found', 'inthe', 'manifestor', 'onthe', 'QA', 'site.Thank', 'helping', 'us', 'make', 'PHP', 'better.25', 'May', '2018PHP', '7.1.18', 'ReleasedThe', 'PHP', 'development', 'team', 'announces', 'immediate', 'availability', 'PHP', '7.1.18.', 'All', 'PHP', '7.1', 'users', 'encouraged', 'upgrade', 'version.For', 'source', 'downloads', 'PHP', '7.1.18', 'please', 'visit', 'ourdownloads', 'page,', 'Windows', 'source', 'binaries', 'found', 'onwindows.php.net/download/.', 'The', 'list', 'changes', 'recorded', 'theChangeLog.24', 'May', '2018PHP', '7.2.6', 'ReleasedThe', 'PHP', 'development', 'team', 'announces', 'immediate', 'availability', 'PHP', '7.2.6.', 'This', 'primarily', 'bugfix', 'release', 'includes', 'memory', 'corruption', 'fix', 'EXIF.PHP', '7.2', 'users', 'encouraged', 'upgrade', 'version.For', 'source', 'downloads', 'PHP', '7.2.6', 'please', 'visit', 'ourdownloads', 'page,', 'Windows', 'source', 'binaries', 'found', 'onwindows.php.net/download/.', 'The', 'list', 'changes', 'recorded', 'theChangeLog.26', 'Apr', '2018PHP', '5.6.36', 'ReleasedThe', 'PHP', 'development', 'team', 'announces', 'immediate', 'availability', 'PHP', '5.6.36.', 'This', 'security', 'release.', 'Several', 'security', 'bugs', 'fixed', 'release.', 'All', 'PHP', '5.6', 'users', 'encouraged', 'upgrade', 'version.For', 'source', 'downloads', 'PHP', '5.6.36', 'please', 'visit', 'ourdownloads', 'page,', 'Windows', 'source', 'binaries', 'found', 'onwindows.php.net/download/.', 'The', 'list', 'changes', 'recorded', 'theChangeLog.26', 'Apr', '2018PHP', '7.1.17', 'ReleasedThe', 'PHP', 'development', 'team', 'announces', 'immediate', 'availability', 'PHP', '7.1.17.', 'This', 'security', 'fix', 'release,', 'containing', 'many', 'bugfixes.', 'All', 'PHP', '7.1', 'users', 'encouraged', 'upgrade', 'version.For', 'source', 'downloads', 'PHP', '7.1.17', 'please', 'visit', 'ourdownloads', 'page,', 'Windows', 'source', 'binaries', 'found', 'onwindows.php.net/download/.', 'The', 'list', 'changes', 'recorded', 'theChangeLog.26', 'Apr', '2018PHP', '7.0.30', 'ReleasedThe', 'PHP', 'development', 'team', 'announces', 'immediate', 'availability', 'PHP', '7.0.30.', 'This', 'security', 'release.', 'Several', 'security', 'bugs', 'fixed', 'release.', 'All', 'PHP', '7.0', 'users', 'encouraged', 'upgrade', 'version.For', 'source', 'downloads', 'PHP', '7.0.30', 'please', 'visit', 'ourdownloads', 'page,', 'Windows', 'source', 'binaries', 'found', 'onwindows.php.net/download/.', 'The', 'list', 'changes', 'recorded', 'theChangeLog.01', 'Feb', '2018PHP', '7.2.2', 'ReleasedThe', 'PHP', 'development', 'team', 'announces', 'immediate', 'availability', 'PHP', '7.2.2.', 'This', 'bugfix', 'release,', 'several', 'bug', 'fixes', 'included.All', 'PHP', '7.2', 'users', 'encouraged', 'upgrade', 'version.For', 'source', 'downloads', 'PHP', '7.2.2', 'please', 'visit', 'ourdownloads', 'page,', 'Windows', 'source', 'binaries', 'found', 'onwindows.php.net/download/.', 'The', 'list', 'changes', 'recorded', 'theChangeLog.12', 'Oct', '2017PHP', '7.2.0', 'Release', 'Candidate', '4', 'ReleasedThe', 'PHP', 'development', 'team', 'announces', 'immediate', 'availability', 'PHP', '7.2.0', 'RC4.', 'This', 'release', 'fourth', 'Release', 'Candidate', '7.2.0.', 'All', 'users', 'PHP', 'encouraged', 'test', 'version', 'carefully,', 'report', 'bugs', 'incompatibilities', 'thebug', 'tracking', 'system.THIS', 'IS', 'A', 'DEVELOPMENT', 'PREVIEW', '-', 'DO', 'NOT', 'USE', 'IT', 'IN', 'PRODUCTION!For', 'information', 'new', 'features', 'changes,', 'read', 'theNEWSfile,', 'theUPGRADINGfile', 'complete', 'list', 'upgrading', 'notes.', 'These', 'files', 'also', 'found', 'release', 'archive.For', 'source', 'downloads', 'PHP', '7.2.0', 'Release', 'Candidate', '4', 'please', 'visit', 'thedownloadpage,', 'Windows', 'sources', 'binaries', 'found', 'atwindows.php.net/qa/.The', 'next', 'Release', 'Candidate', 'announced', '26th', 'October.', 'You', 'also', 'read', 'full', 'list', 'planned', 'releases', 'onour', 'wiki.Thank', 'helping', 'us', 'make', 'PHP', 'better.28', 'Sep', '2017PHP', '7.2.0', 'Release', 'Candidate', '3', 'ReleasedThe', 'PHP', 'development', 'team', 'announces', 'immediate', 'availability', 'PHP', '7.2.0', 'RC3.', 'This', 'release', 'third', 'Release', 'Candidate', '7.2.0.', 'All', 'users', 'PHP', 'encouraged', 'test', 'version', 'carefully,', 'report', 'bugs', 'incompatibilities', 'thebug', 'tracking', 'system.THIS', 'IS', 'A', 'DEVELOPMENT', 'PREVIEW', '-', 'DO', 'NOT', 'USE', 'IT', 'IN', 'PRODUCTION!For', 'information', 'new', 'features', 'changes,', 'read', 'theNEWSfile,', 'theUPGRADINGfile', 'complete', 'list', 'upgrading', 'notes.', 'These', 'files', 'also', 'found', 'release', 'archive.For', 'source', 'downloads', 'PHP', '7.2.0', 'Release', 'Candidate', '3', 'please', 'visit', 'thedownloadpage,', 'Windows', 'sources', 'binaries', 'found', 'atwindows.php.net/qa/.The', 'next', 'Release', 'Candidate', 'announced', '12th', 'October.', 'You', 'also', 'read', 'full', 'list', 'planned', 'releases', 'onour', 'wiki.Thank', 'helping', 'us', 'make', 'PHP', 'better.31', 'Aug', '2017PHP', '7.2.0', 'Release', 'Candidate', '1', 'ReleasedThe', 'PHP', 'development', 'team', 'announces', 'immediate', 'availability', 'PHP', '7.2.0', 'Release', 'Candidate', '1.', 'This', 'release', 'first', 'Release', 'Candidate', '7.2.0.', 'All', 'users', 'PHP', 'encouraged', 'test', 'version', 'carefully,', 'report', 'bugs', 'incompatibilities', 'thebug', 'tracking', 'system.THIS', 'IS', 'A', 'DEVELOPMENT', 'PREVIEW', '-', 'DO', 'NOT', 'USE', 'IT', 'IN', 'PRODUCTION!For', 'information', 'new', 'features', 'changes,', 'read', 'theNEWSfile,', 'theUPGRADINGfile', 'complete', 'list', 'upgrading', 'notes.', 'These', 'files', 'also', 'found', 'release', 'archive.For', 'source', 'downloads', 'PHP', '7.2.0', 'Release', 'Candidate', '1', 'please', 'visit', 'thedownloadpage,', 'Windows', 'sources', 'binaries', 'found', 'atwindows.php.net/qa/.The', 'second', 'Release', 'Candidate', 'released', '14th', 'September.', 'You', 'also', 'read', 'full', 'list', 'planned', 'releases', 'onour', 'wiki.Thank', 'helping', 'us', 'make', 'PHP', 'better.17', 'Aug', '2017PHP', '7.2.0', 'Beta', '3', 'ReleasedThe', 'PHP', 'development', 'team', 'announces', 'immediate', 'availability', 'PHP', '7.2.0', 'Beta', '3.', 'This', 'release', 'third', 'final', 'beta', '7.2.0.', 'All', 'users', 'PHP', 'encouraged', 'test', 'version', 'carefully,', 'report', 'bugs', 'incompatibilities', 'thebug', 'tracking', 'system.THIS', 'IS', 'A', 'DEVELOPMENT', 'PREVIEW', '-', 'DO', 'NOT', 'USE', 'IT', 'IN', 'PRODUCTION!For', 'information', 'new', 'features', 'changes,', 'read', 'theNEWSfile,', 'theUPGRADINGfile', 'complete', 'list', 'upgrading', 'notes.', 'These', 'files', 'also', 'found', 'release', 'archive.For', 'source', 'downloads', 'PHP', '7.2.0', 'Beta', '3', 'please', 'visit', 'thedownloadpage,', 'Windows', 'sources', 'binaries', 'found', 'atwindows.php.net/qa/.The', 'first', 'Release', 'Candidate', 'released', '31th', 'August.', 'You', 'also', 'read', 'full', 'list', 'planned', 'releases', 'onour', 'wiki.Thank', 'helping', 'us', 'make', 'PHP', 'better.06', 'Jul', '2017PHP', '7.2.0', 'Alpha', '3', 'ReleasedThe', 'PHP', 'development', 'team', 'announces', 'immediate', 'availability', 'PHP', '7.2.0', 'Alpha', '3.', 'This', 'release', 'contains', 'fixes', 'improvements', 'relative', 'Alpha', '2.', 'All', 'users', 'PHP', 'encouraged', 'test', 'version', 'carefully,', 'report', 'bugs', 'incompatibilities', 'thebug', 'tracking', 'system.THIS', 'IS', 'A', 'DEVELOPMENT', 'PREVIEW', '-', 'DO', 'NOT', 'USE', 'IT', 'IN', 'PRODUCTION!For', 'information', 'new', 'features', 'changes,', 'read', 'theNEWSfile,', 'theUPGRADINGfile', 'complete', 'list', 'upgrading', 'notes.', 'These', 'files', 'also', 'found', 'release', 'archive.For', 'source', 'downloads', 'PHP', '7.2.0', 'Alpha', '3', 'please', 'visit', 'thedownloadpage,', 'Windows', 'sources', 'binaries', 'found', 'onwindows.php.net/qa/.The', 'first', 'beta', 'released', '20th', 'July.', 'You', 'also', 'read', 'full', 'list', 'planned', 'releases', 'ourwiki.Thank', 'helping', 'us', 'make', 'PHP', 'better.Older', 'News', 'EntriesConferences', 'calling', 'papersphp[world]', '2018Upcoming', 'conferencesLaravelConf', 'Taiwan', '2018Mid-Atlantic', 'Developer', 'ConferenceInternational', 'PHP', 'Conference', '2018', '-', 'Fall', 'EditionCoderCruise', '2018', '-', 'The', 'Bahamas!User', 'Group', 'EventsSpecial', 'ThanksSocial', 'media@official_phpCopyright', '©', '2001-2018', 'The', 'PHP', 'GroupMy', 'PHP.netContactOther', 'PHP.net', 'sitesMirror', 'sitesPrivacy', 'policy']\n" ] } ], @@ -624,10 +637,161 @@ }, { "cell_type": "code", - "execution_count": null, + "execution_count": 13, "metadata": {}, - "outputs": [], - "source": [] + "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + "[nltk_data] Downloading package punkt to /home/arunav/nltk_data...\n", + "[nltk_data] Package punkt is already up-to-date!\n", + "['Hello Dr. Adam, how are you?', 'I hope everything is going well.', 'Today is a good day, see you dude.']\n", + "['Hello', 'Dr.', 'Adam', ',', 'how', 'are', 'you', '?', 'I', 'hope', 'everything', 'is', 'going', 'well', '.', 'Today', 'is', 'a', 'good', 'day', ',', 'see', 'you', 'dude', '.']\n" + ] + } + ], + "source": [ + "import nltk\n", + "nltk.download('punkt')\n", + "#Tokenizing sentences\n", + "\n", + "from nltk.tokenize import sent_tokenize, word_tokenize\n", + "mytext = \"Hello Dr. Adam, how are you? I hope everything is going well. Today is a good day, see you dude.\"\n", + "\n", + "# Sentence tokenizer on mytext\n", + "print(sent_tokenize(mytext))\n", + "\n", + "# Word tokenizer on mytext\n", + "print(word_tokenize(mytext))" + ] + }, + { + "cell_type": "code", + "execution_count": 17, + "metadata": {}, + "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + "[nltk_data] Downloading package wordnet to /home/arunav/nltk_data...\n", + "[nltk_data] Package wordnet is already up-to-date!\n", + "Working for word PAIN:\n", + "a symptom of some physical hurt or disorder\n", + "['the patient developed severe pain and distension']\n", + "Working for word NLP:\n", + "the branch of information science that deals with natural language information\n", + "*** all definitions of python ***\n", + "large Old World boas\n", + "a soothsaying spirit or a person who is possessed by such a spirit\n", + "(Greek mythology) dragon killed by Apollo at Delphi\n" + ] + } + ], + "source": [ + "# we can get definition from Wordnet\n", + "# for that we have to import wordnet\n", + "nltk.download('wordnet')\n", + "\n", + "from nltk.corpus import wordnet\n", + "\n", + "# Start using wordnet for a particular word\n", + "\n", + "# 1st word is \"pain\"\n", + "syn = wordnet.synsets(\"pain\")\n", + "print(\"Working for word PAIN:\")\n", + "print(syn[0].definition())\n", + "print(syn[0].examples())\n", + "\n", + "#2nd word is \"NLP\"\n", + "print(\"Working for word NLP:\")\n", + "syn = wordnet.synsets(\"NLP\")\n", + "print(syn[0].definition())\n", + "\n", + "#3rd word is \"Python\"\n", + "syn = wordnet.synsets(\"Python\")\n", + "print(\"*** all definitions of python ***\")\n", + "for items in syn:\n", + " print(items.definition())" + ] + }, + { + "cell_type": "code", + "execution_count": 18, + "metadata": {}, + "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + "['computer', 'computing_machine', 'computing_device', 'data_processor', 'electronic_computer', 'information_processing_system', 'calculator', 'reckoner', 'figurer', 'estimator', 'computer']\n" + ] + } + ], + "source": [ + "# Get synonyms of words\n", + "from nltk.corpus import wordnet\n", + "synonyms = []\n", + "for syn in wordnet.synsets('Computer'):\n", + " for lemma in syn.lemmas():\n", + " synonyms.append(lemma.name())\n", + "print(synonyms)" + ] + }, + { + "cell_type": "code", + "execution_count": 30, + "metadata": {}, + "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + "stone\n", + "speak\n", + "bedroom\n", + "joke\n", + "lisa\n", + "purpl\n", + "univers\n", + "univers\n", + "----------------------\n", + "stone\n", + "speaking\n", + "bedroom\n", + "joke\n", + "lisa\n", + "domicile\n", + "university\n" + ] + } + ], + "source": [ + "# Stemming and Lemmatization\n", + "\n", + "from nltk.stem import WordNetLemmatizer\n", + "from nltk.stem import PorterStemmer\n", + "stemmer = PorterStemmer()\n", + "lemmatizer = WordNetLemmatizer()\n", + "\n", + "print(stemmer.stem('stones'))\n", + "print(stemmer.stem('speaking'))\n", + "print(stemmer.stem('bedroom'))\n", + "print(stemmer.stem('jokes'))\n", + "print(stemmer.stem('lisa'))\n", + "print(stemmer.stem('purple'))\n", + "print(stemmer.stem('university'))\n", + "print(stemmer.stem('universe'))\n", + "print('----------------------')\n", + "print(lemmatizer.lemmatize('stones'))\n", + "print(lemmatizer.lemmatize('speaking'))\n", + "print(lemmatizer.lemmatize('bedroom'))\n", + "print(lemmatizer.lemmatize('jokes'))\n", + "print(lemmatizer.lemmatize('lisa'))\n", + "print(lemmatizer.lemmatize('domicile'))\n", + "print(lemmatizer.lemmatize('university'))" + ] }, { "cell_type": "code", diff --git a/ArunavD/nltk_test/nltk_run.py.ipynb b/ArunavD/nltk_test/nltk_run.py.ipynb index 6fc4a32..6042edd 100644 --- a/ArunavD/nltk_test/nltk_run.py.ipynb +++ b/ArunavD/nltk_test/nltk_run.py.ipynb @@ -16,7 +16,7 @@ }, { "cell_type": "code", - "execution_count": 14, + "execution_count": 2, "metadata": {}, "outputs": [], "source": [ @@ -28,7 +28,7 @@ }, { "cell_type": "code", - "execution_count": 15, + "execution_count": 3, "metadata": {}, "outputs": [], "source": [ @@ -40,14 +40,20 @@ }, { "cell_type": "code", - "execution_count": 17, + "execution_count": 4, "metadata": {}, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ - "PHP: Hypertext PreprocessorDownloadsDocumentationGet InvolvedHelpGetting StartedIntroductionA simple tutorialLanguage ReferenceBasic syntaxTypesVariablesConstantsExpressionsOperatorsControl StructuresFunctionsClasses and ObjectsNamespacesErrorsExceptionsGeneratorsReferences ExplainedPredefined VariablesPredefined ExceptionsPredefined Interfaces and ClassesContext options and parametersSupported Protocols and WrappersSecurityIntroductionGeneral considerationsInstalled as CGI binaryInstalled as an Apache moduleSession SecurityFilesystem SecurityDatabase SecurityError ReportingUsing Register GlobalsUser Submitted DataMagic QuotesHiding PHPKeeping CurrentFeaturesHTTP authentication with PHPCookiesSessionsDealing with XFormsHandling file uploadsUsing remote filesConnection handlingPersistent Database ConnectionsSafe ModeCommand line usageGarbage CollectionDTrace Dynamic TracingFunction ReferenceAffecting PHP's BehaviourAudio Formats ManipulationAuthentication ServicesCommand Line Specific ExtensionsCompression and Archive ExtensionsCredit Card ProcessingCryptography ExtensionsDatabase ExtensionsDate and Time Related ExtensionsFile System Related ExtensionsHuman Language and Character Encoding SupportImage Processing and GenerationMail Related ExtensionsMathematical ExtensionsNon-Text MIME OutputProcess Control ExtensionsOther Basic ExtensionsOther ServicesSearch Engine ExtensionsServer Specific ExtensionsSession ExtensionsText ProcessingVariable and Type Related ExtensionsWeb ServicesWindows Only ExtensionsXML ManipulationGUI ExtensionsKeyboard Shortcuts?This helpjNext menu itemkPrevious menu itemg pPrevious man pageg nNext man pageGScroll to bottomg gScroll to topg hGoto homepageg sGoto search(current page)/Focus search boxPHP is a popular general-purpose scripting language that is especially suited to web development.Fast, flexible and pragmatic, PHP powers everything from your blog to the most popular websites in the world.Download5.6.36·Release Notes·Upgrading7.0.30·Release Notes·Upgrading7.1.18·Release Notes·Upgrading7.2.6·Release Notes·Upgrading07 Jun 2018PHP 7.3.0 alpha 1 ReleasedPHP team is glad to announce the release of the first PHP 7.3.0 version, PHP 7.3.0 Alpha 1. \n", + "PHP: Hypertext PreprocessorDownloadsDocumentationGet InvolvedHelpGetting StartedIntroductionA simple tutorialLanguage ReferenceBasic syntaxTypesVariablesConstantsExpressionsOperatorsControl StructuresFunctionsClasses and ObjectsNamespacesErrorsExceptionsGeneratorsReferences ExplainedPredefined VariablesPredefined ExceptionsPredefined Interfaces and ClassesContext options and parametersSupported Protocols and WrappersSecurityIntroductionGeneral considerationsInstalled as CGI binaryInstalled as an Apache moduleSession SecurityFilesystem SecurityDatabase SecurityError ReportingUsing Register GlobalsUser Submitted DataMagic QuotesHiding PHPKeeping CurrentFeaturesHTTP authentication with PHPCookiesSessionsDealing with XFormsHandling file uploadsUsing remote filesConnection handlingPersistent Database ConnectionsSafe ModeCommand line usageGarbage CollectionDTrace Dynamic TracingFunction ReferenceAffecting PHP's BehaviourAudio Formats ManipulationAuthentication ServicesCommand Line Specific ExtensionsCompression and Archive ExtensionsCredit Card ProcessingCryptography ExtensionsDatabase ExtensionsDate and Time Related ExtensionsFile System Related ExtensionsHuman Language and Character Encoding SupportImage Processing and GenerationMail Related ExtensionsMathematical ExtensionsNon-Text MIME OutputProcess Control ExtensionsOther Basic ExtensionsOther ServicesSearch Engine ExtensionsServer Specific ExtensionsSession ExtensionsText ProcessingVariable and Type Related ExtensionsWeb ServicesWindows Only ExtensionsXML ManipulationGUI ExtensionsKeyboard Shortcuts?This helpjNext menu itemkPrevious menu itemg pPrevious man pageg nNext man pageGScroll to bottomg gScroll to topg hGoto homepageg sGoto search(current page)/Focus search boxPHP is a popular general-purpose scripting language that is especially suited to web development.Fast, flexible and pragmatic, PHP powers everything from your blog to the most popular websites in the world.Download5.6.36·Release Notes·Upgrading7.0.30·Release Notes·Upgrading7.1.18·Release Notes·Upgrading7.2.7·Release Notes·Upgrading21 Jun 2018PHP 7.2.7 ReleasedPHP 7.2.7 Release AnnouncementThe PHP development team announces the immediate availability of PHP 7.2.7.\n", + " This is a primarily a bugfix release which includes a segfault fix for opcache.PHP 7.2 users are encouraged to upgrade to this version.For source downloads of PHP 7.2.7 please visit ourdownloads page,\n", + " Windows source and binaries can be found onwindows.php.net/download/.\n", + " The list of changes is recorded in theChangeLog.21 Jun 2018PHP 7.3.0 alpha 2 ReleasedThe PHP team is glad to announce the release of the second PHP 7.3.0 version, PHP 7.3.0 Alpha 2. \n", + " The rough outline of the PHP 7.3 release cycle is specified in thePHP Wiki.For source downloads of PHP 7.3.0 Alpha 2 please visit thedownload page.\n", + " Windows sources and binaries can be found onwindows.php.net/qa/.Please carefully test this version and report any issues found in thebug reporting system.THIS IS A DEVELOPMENT PREVIEW - DO NOT USE IT IN PRODUCTION!For more information on the new features and other changes, you can read theNEWSfile,\n", + " or theUPGRADINGfile for a complete list of upgrading notes. These files can also be found in the release archive.The next release would be Alpha 3, planned for July 5.The signatures for the release can be found inthe manifestor onthe QA site.Thank you for helping us make PHP better.07 Jun 2018PHP 7.3.0 alpha 1 ReleasedPHP team is glad to announce the release of the first PHP 7.3.0 version, PHP 7.3.0 Alpha 1. \n", "\t This starts the PHP 7.3 release cycle, the rough outline of which is specified in thePHP Wiki.For source downloads of PHP 7.3.0 Alpha 1 please visit thedownload page.Please carefully test this version and report any issues found in thebug reporting system.Please DO NOT use this version in production, it is an early test version.For more information on the new features and other changes, you can read theNEWSfile,\n", "\t or theUPGRADINGfile for a complete list of upgrading notes. These files can also be found in the release archive.The next release would be Alpha 2, planned for June 21.The signatures for the release can be found inthe manifestor onthe QA site.Thank you for helping us make PHP better.25 May 2018PHP 7.1.18 ReleasedThe PHP development team announces the immediate availability of PHP\n", " 7.1.18.\n", @@ -74,9 +80,6 @@ " \n", " All PHP 7.0 users are encouraged to upgrade to this version.For source downloads of PHP 7.0.30 please visit ourdownloads page,\n", " Windows source and binaries can be found onwindows.php.net/download/.\n", - " The list of changes is recorded in theChangeLog.26 Apr 2018PHP 7.2.5 ReleasedThe PHP development team announces the immediate availability of PHP\n", - " 7.2.5. This is a security release which also contains several minor bug fixes.All PHP 7.2 users are encouraged to upgrade to this version.For source downloads of PHP 7.2.5 please visit ourdownloads page,\n", - " Windows source and binaries can be found onwindows.php.net/download/.\n", " The list of changes is recorded in theChangeLog.01 Feb 2018PHP 7.2.2 ReleasedThe PHP development team announces the immediate availability of PHP\n", " 7.2.2. This is a bugfix release, with several bug fixes included.All PHP 7.2 users are encouraged to upgrade to this version.For source downloads of PHP 7.2.2 please visit ourdownloads page,\n", " Windows source and binaries can be found onwindows.php.net/download/.\n", @@ -124,14 +127,14 @@ }, { "cell_type": "code", - "execution_count": 18, + "execution_count": 5, "metadata": {}, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ - "['PHP:', 'Hypertext', 'PreprocessorDownloadsDocumentationGet', 'InvolvedHelpGetting', 'StartedIntroductionA', 'simple', 'tutorialLanguage', 'ReferenceBasic', 'syntaxTypesVariablesConstantsExpressionsOperatorsControl', 'StructuresFunctionsClasses', 'and', 'ObjectsNamespacesErrorsExceptionsGeneratorsReferences', 'ExplainedPredefined', 'VariablesPredefined', 'ExceptionsPredefined', 'Interfaces', 'and', 'ClassesContext', 'options', 'and', 'parametersSupported', 'Protocols', 'and', 'WrappersSecurityIntroductionGeneral', 'considerationsInstalled', 'as', 'CGI', 'binaryInstalled', 'as', 'an', 'Apache', 'moduleSession', 'SecurityFilesystem', 'SecurityDatabase', 'SecurityError', 'ReportingUsing', 'Register', 'GlobalsUser', 'Submitted', 'DataMagic', 'QuotesHiding', 'PHPKeeping', 'CurrentFeaturesHTTP', 'authentication', 'with', 'PHPCookiesSessionsDealing', 'with', 'XFormsHandling', 'file', 'uploadsUsing', 'remote', 'filesConnection', 'handlingPersistent', 'Database', 'ConnectionsSafe', 'ModeCommand', 'line', 'usageGarbage', 'CollectionDTrace', 'Dynamic', 'TracingFunction', 'ReferenceAffecting', \"PHP's\", 'BehaviourAudio', 'Formats', 'ManipulationAuthentication', 'ServicesCommand', 'Line', 'Specific', 'ExtensionsCompression', 'and', 'Archive', 'ExtensionsCredit', 'Card', 'ProcessingCryptography', 'ExtensionsDatabase', 'ExtensionsDate', 'and', 'Time', 'Related', 'ExtensionsFile', 'System', 'Related', 'ExtensionsHuman', 'Language', 'and', 'Character', 'Encoding', 'SupportImage', 'Processing', 'and', 'GenerationMail', 'Related', 'ExtensionsMathematical', 'ExtensionsNon-Text', 'MIME', 'OutputProcess', 'Control', 'ExtensionsOther', 'Basic', 'ExtensionsOther', 'ServicesSearch', 'Engine', 'ExtensionsServer', 'Specific', 'ExtensionsSession', 'ExtensionsText', 'ProcessingVariable', 'and', 'Type', 'Related', 'ExtensionsWeb', 'ServicesWindows', 'Only', 'ExtensionsXML', 'ManipulationGUI', 'ExtensionsKeyboard', 'Shortcuts?This', 'helpjNext', 'menu', 'itemkPrevious', 'menu', 'itemg', 'pPrevious', 'man', 'pageg', 'nNext', 'man', 'pageGScroll', 'to', 'bottomg', 'gScroll', 'to', 'topg', 'hGoto', 'homepageg', 'sGoto', 'search(current', 'page)/Focus', 'search', 'boxPHP', 'is', 'a', 'popular', 'general-purpose', 'scripting', 'language', 'that', 'is', 'especially', 'suited', 'to', 'web', 'development.Fast,', 'flexible', 'and', 'pragmatic,', 'PHP', 'powers', 'everything', 'from', 'your', 'blog', 'to', 'the', 'most', 'popular', 'websites', 'in', 'the', 'world.Download5.6.36·Release', 'Notes·Upgrading7.0.30·Release', 'Notes·Upgrading7.1.18·Release', 'Notes·Upgrading7.2.6·Release', 'Notes·Upgrading07', 'Jun', '2018PHP', '7.3.0', 'alpha', '1', 'ReleasedPHP', 'team', 'is', 'glad', 'to', 'announce', 'the', 'release', 'of', 'the', 'first', 'PHP', '7.3.0', 'version,', 'PHP', '7.3.0', 'Alpha', '1.', 'This', 'starts', 'the', 'PHP', '7.3', 'release', 'cycle,', 'the', 'rough', 'outline', 'of', 'which', 'is', 'specified', 'in', 'thePHP', 'Wiki.For', 'source', 'downloads', 'of', 'PHP', '7.3.0', 'Alpha', '1', 'please', 'visit', 'thedownload', 'page.Please', 'carefully', 'test', 'this', 'version', 'and', 'report', 'any', 'issues', 'found', 'in', 'thebug', 'reporting', 'system.Please', 'DO', 'NOT', 'use', 'this', 'version', 'in', 'production,', 'it', 'is', 'an', 'early', 'test', 'version.For', 'more', 'information', 'on', 'the', 'new', 'features', 'and', 'other', 'changes,', 'you', 'can', 'read', 'theNEWSfile,', 'or', 'theUPGRADINGfile', 'for', 'a', 'complete', 'list', 'of', 'upgrading', 'notes.', 'These', 'files', 'can', 'also', 'be', 'found', 'in', 'the', 'release', 'archive.The', 'next', 'release', 'would', 'be', 'Alpha', '2,', 'planned', 'for', 'June', '21.The', 'signatures', 'for', 'the', 'release', 'can', 'be', 'found', 'inthe', 'manifestor', 'onthe', 'QA', 'site.Thank', 'you', 'for', 'helping', 'us', 'make', 'PHP', 'better.25', 'May', '2018PHP', '7.1.18', 'ReleasedThe', 'PHP', 'development', 'team', 'announces', 'the', 'immediate', 'availability', 'of', 'PHP', '7.1.18.', 'All', 'PHP', '7.1', 'users', 'are', 'encouraged', 'to', 'upgrade', 'to', 'this', 'version.For', 'source', 'downloads', 'of', 'PHP', '7.1.18', 'please', 'visit', 'ourdownloads', 'page,', 'Windows', 'source', 'and', 'binaries', 'can', 'be', 'found', 'onwindows.php.net/download/.', 'The', 'list', 'of', 'changes', 'is', 'recorded', 'in', 'theChangeLog.24', 'May', '2018PHP', '7.2.6', 'ReleasedThe', 'PHP', 'development', 'team', 'announces', 'the', 'immediate', 'availability', 'of', 'PHP', '7.2.6.', 'This', 'is', 'a', 'primarily', 'a', 'bugfix', 'release', 'which', 'includes', 'a', 'memory', 'corruption', 'fix', 'for', 'EXIF.PHP', '7.2', 'users', 'are', 'encouraged', 'to', 'upgrade', 'to', 'this', 'version.For', 'source', 'downloads', 'of', 'PHP', '7.2.6', 'please', 'visit', 'ourdownloads', 'page,', 'Windows', 'source', 'and', 'binaries', 'can', 'be', 'found', 'onwindows.php.net/download/.', 'The', 'list', 'of', 'changes', 'is', 'recorded', 'in', 'theChangeLog.26', 'Apr', '2018PHP', '5.6.36', 'ReleasedThe', 'PHP', 'development', 'team', 'announces', 'the', 'immediate', 'availability', 'of', 'PHP', '5.6.36.', 'This', 'is', 'a', 'security', 'release.', 'Several', 'security', 'bugs', 'have', 'been', 'fixed', 'in', 'this', 'release.', 'All', 'PHP', '5.6', 'users', 'are', 'encouraged', 'to', 'upgrade', 'to', 'this', 'version.For', 'source', 'downloads', 'of', 'PHP', '5.6.36', 'please', 'visit', 'ourdownloads', 'page,', 'Windows', 'source', 'and', 'binaries', 'can', 'be', 'found', 'onwindows.php.net/download/.', 'The', 'list', 'of', 'changes', 'is', 'recorded', 'in', 'theChangeLog.26', 'Apr', '2018PHP', '7.1.17', 'ReleasedThe', 'PHP', 'development', 'team', 'announces', 'the', 'immediate', 'availability', 'of', 'PHP', '7.1.17.', 'This', 'is', 'a', 'security', 'fix', 'release,', 'containing', 'many', 'bugfixes.', 'All', 'PHP', '7.1', 'users', 'are', 'encouraged', 'to', 'upgrade', 'to', 'this', 'version.For', 'source', 'downloads', 'of', 'PHP', '7.1.17', 'please', 'visit', 'ourdownloads', 'page,', 'Windows', 'source', 'and', 'binaries', 'can', 'be', 'found', 'onwindows.php.net/download/.', 'The', 'list', 'of', 'changes', 'is', 'recorded', 'in', 'theChangeLog.26', 'Apr', '2018PHP', '7.0.30', 'ReleasedThe', 'PHP', 'development', 'team', 'announces', 'the', 'immediate', 'availability', 'of', 'PHP', '7.0.30.', 'This', 'is', 'a', 'security', 'release.', 'Several', 'security', 'bugs', 'have', 'been', 'fixed', 'in', 'this', 'release.', 'All', 'PHP', '7.0', 'users', 'are', 'encouraged', 'to', 'upgrade', 'to', 'this', 'version.For', 'source', 'downloads', 'of', 'PHP', '7.0.30', 'please', 'visit', 'ourdownloads', 'page,', 'Windows', 'source', 'and', 'binaries', 'can', 'be', 'found', 'onwindows.php.net/download/.', 'The', 'list', 'of', 'changes', 'is', 'recorded', 'in', 'theChangeLog.26', 'Apr', '2018PHP', '7.2.5', 'ReleasedThe', 'PHP', 'development', 'team', 'announces', 'the', 'immediate', 'availability', 'of', 'PHP', '7.2.5.', 'This', 'is', 'a', 'security', 'release', 'which', 'also', 'contains', 'several', 'minor', 'bug', 'fixes.All', 'PHP', '7.2', 'users', 'are', 'encouraged', 'to', 'upgrade', 'to', 'this', 'version.For', 'source', 'downloads', 'of', 'PHP', '7.2.5', 'please', 'visit', 'ourdownloads', 'page,', 'Windows', 'source', 'and', 'binaries', 'can', 'be', 'found', 'onwindows.php.net/download/.', 'The', 'list', 'of', 'changes', 'is', 'recorded', 'in', 'theChangeLog.01', 'Feb', '2018PHP', '7.2.2', 'ReleasedThe', 'PHP', 'development', 'team', 'announces', 'the', 'immediate', 'availability', 'of', 'PHP', '7.2.2.', 'This', 'is', 'a', 'bugfix', 'release,', 'with', 'several', 'bug', 'fixes', 'included.All', 'PHP', '7.2', 'users', 'are', 'encouraged', 'to', 'upgrade', 'to', 'this', 'version.For', 'source', 'downloads', 'of', 'PHP', '7.2.2', 'please', 'visit', 'ourdownloads', 'page,', 'Windows', 'source', 'and', 'binaries', 'can', 'be', 'found', 'onwindows.php.net/download/.', 'The', 'list', 'of', 'changes', 'is', 'recorded', 'in', 'theChangeLog.12', 'Oct', '2017PHP', '7.2.0', 'Release', 'Candidate', '4', 'ReleasedThe', 'PHP', 'development', 'team', 'announces', 'the', 'immediate', 'availability', 'of', 'PHP', '7.2.0', 'RC4.', 'This', 'release', 'is', 'the', 'fourth', 'Release', 'Candidate', 'for', '7.2.0.', 'All', 'users', 'of', 'PHP', 'are', 'encouraged', 'to', 'test', 'this', 'version', 'carefully,', 'and', 'report', 'any', 'bugs', 'and', 'incompatibilities', 'in', 'thebug', 'tracking', 'system.THIS', 'IS', 'A', 'DEVELOPMENT', 'PREVIEW', '-', 'DO', 'NOT', 'USE', 'IT', 'IN', 'PRODUCTION!For', 'more', 'information', 'on', 'the', 'new', 'features', 'and', 'other', 'changes,', 'you', 'can', 'read', 'theNEWSfile,', 'or', 'theUPGRADINGfile', 'for', 'a', 'complete', 'list', 'of', 'upgrading', 'notes.', 'These', 'files', 'can', 'also', 'be', 'found', 'in', 'the', 'release', 'archive.For', 'source', 'downloads', 'of', 'PHP', '7.2.0', 'Release', 'Candidate', '4', 'please', 'visit', 'thedownloadpage,', 'Windows', 'sources', 'and', 'binaries', 'can', 'be', 'found', 'atwindows.php.net/qa/.The', 'next', 'Release', 'Candidate', 'will', 'be', 'announced', 'on', 'the', '26th', 'of', 'October.', 'You', 'can', 'also', 'read', 'the', 'full', 'list', 'of', 'planned', 'releases', 'onour', 'wiki.Thank', 'you', 'for', 'helping', 'us', 'make', 'PHP', 'better.28', 'Sep', '2017PHP', '7.2.0', 'Release', 'Candidate', '3', 'ReleasedThe', 'PHP', 'development', 'team', 'announces', 'the', 'immediate', 'availability', 'of', 'PHP', '7.2.0', 'RC3.', 'This', 'release', 'is', 'the', 'third', 'Release', 'Candidate', 'for', '7.2.0.', 'All', 'users', 'of', 'PHP', 'are', 'encouraged', 'to', 'test', 'this', 'version', 'carefully,', 'and', 'report', 'any', 'bugs', 'and', 'incompatibilities', 'in', 'thebug', 'tracking', 'system.THIS', 'IS', 'A', 'DEVELOPMENT', 'PREVIEW', '-', 'DO', 'NOT', 'USE', 'IT', 'IN', 'PRODUCTION!For', 'more', 'information', 'on', 'the', 'new', 'features', 'and', 'other', 'changes,', 'you', 'can', 'read', 'theNEWSfile,', 'or', 'theUPGRADINGfile', 'for', 'a', 'complete', 'list', 'of', 'upgrading', 'notes.', 'These', 'files', 'can', 'also', 'be', 'found', 'in', 'the', 'release', 'archive.For', 'source', 'downloads', 'of', 'PHP', '7.2.0', 'Release', 'Candidate', '3', 'please', 'visit', 'thedownloadpage,', 'Windows', 'sources', 'and', 'binaries', 'can', 'be', 'found', 'atwindows.php.net/qa/.The', 'next', 'Release', 'Candidate', 'will', 'be', 'announced', 'on', 'the', '12th', 'of', 'October.', 'You', 'can', 'also', 'read', 'the', 'full', 'list', 'of', 'planned', 'releases', 'onour', 'wiki.Thank', 'you', 'for', 'helping', 'us', 'make', 'PHP', 'better.31', 'Aug', '2017PHP', '7.2.0', 'Release', 'Candidate', '1', 'ReleasedThe', 'PHP', 'development', 'team', 'announces', 'the', 'immediate', 'availability', 'of', 'PHP', '7.2.0', 'Release', 'Candidate', '1.', 'This', 'release', 'is', 'the', 'first', 'Release', 'Candidate', 'for', '7.2.0.', 'All', 'users', 'of', 'PHP', 'are', 'encouraged', 'to', 'test', 'this', 'version', 'carefully,', 'and', 'report', 'any', 'bugs', 'and', 'incompatibilities', 'in', 'thebug', 'tracking', 'system.THIS', 'IS', 'A', 'DEVELOPMENT', 'PREVIEW', '-', 'DO', 'NOT', 'USE', 'IT', 'IN', 'PRODUCTION!For', 'more', 'information', 'on', 'the', 'new', 'features', 'and', 'other', 'changes,', 'you', 'can', 'read', 'theNEWSfile,', 'or', 'theUPGRADINGfile', 'for', 'a', 'complete', 'list', 'of', 'upgrading', 'notes.', 'These', 'files', 'can', 'also', 'be', 'found', 'in', 'the', 'release', 'archive.For', 'source', 'downloads', 'of', 'PHP', '7.2.0', 'Release', 'Candidate', '1', 'please', 'visit', 'thedownloadpage,', 'Windows', 'sources', 'and', 'binaries', 'can', 'be', 'found', 'atwindows.php.net/qa/.The', 'second', 'Release', 'Candidate', 'will', 'be', 'released', 'on', 'the', '14th', 'of', 'September.', 'You', 'can', 'also', 'read', 'the', 'full', 'list', 'of', 'planned', 'releases', 'onour', 'wiki.Thank', 'you', 'for', 'helping', 'us', 'make', 'PHP', 'better.17', 'Aug', '2017PHP', '7.2.0', 'Beta', '3', 'ReleasedThe', 'PHP', 'development', 'team', 'announces', 'the', 'immediate', 'availability', 'of', 'PHP', '7.2.0', 'Beta', '3.', 'This', 'release', 'is', 'the', 'third', 'and', 'final', 'beta', 'for', '7.2.0.', 'All', 'users', 'of', 'PHP', 'are', 'encouraged', 'to', 'test', 'this', 'version', 'carefully,', 'and', 'report', 'any', 'bugs', 'and', 'incompatibilities', 'in', 'thebug', 'tracking', 'system.THIS', 'IS', 'A', 'DEVELOPMENT', 'PREVIEW', '-', 'DO', 'NOT', 'USE', 'IT', 'IN', 'PRODUCTION!For', 'more', 'information', 'on', 'the', 'new', 'features', 'and', 'other', 'changes,', 'you', 'can', 'read', 'theNEWSfile,', 'or', 'theUPGRADINGfile', 'for', 'a', 'complete', 'list', 'of', 'upgrading', 'notes.', 'These', 'files', 'can', 'also', 'be', 'found', 'in', 'the', 'release', 'archive.For', 'source', 'downloads', 'of', 'PHP', '7.2.0', 'Beta', '3', 'please', 'visit', 'thedownloadpage,', 'Windows', 'sources', 'and', 'binaries', 'can', 'be', 'found', 'atwindows.php.net/qa/.The', 'first', 'Release', 'Candidate', 'will', 'be', 'released', 'on', 'the', '31th', 'of', 'August.', 'You', 'can', 'also', 'read', 'the', 'full', 'list', 'of', 'planned', 'releases', 'onour', 'wiki.Thank', 'you', 'for', 'helping', 'us', 'make', 'PHP', 'better.06', 'Jul', '2017PHP', '7.2.0', 'Alpha', '3', 'ReleasedThe', 'PHP', 'development', 'team', 'announces', 'the', 'immediate', 'availability', 'of', 'PHP', '7.2.0', 'Alpha', '3.', 'This', 'release', 'contains', 'fixes', 'and', 'improvements', 'relative', 'to', 'Alpha', '2.', 'All', 'users', 'of', 'PHP', 'are', 'encouraged', 'to', 'test', 'this', 'version', 'carefully,', 'and', 'report', 'any', 'bugs', 'and', 'incompatibilities', 'in', 'thebug', 'tracking', 'system.THIS', 'IS', 'A', 'DEVELOPMENT', 'PREVIEW', '-', 'DO', 'NOT', 'USE', 'IT', 'IN', 'PRODUCTION!For', 'information', 'on', 'new', 'features', 'and', 'other', 'changes,', 'you', 'can', 'read', 'theNEWSfile,', 'or', 'theUPGRADINGfile', 'for', 'a', 'complete', 'list', 'of', 'upgrading', 'notes.', 'These', 'files', 'can', 'also', 'be', 'found', 'in', 'the', 'release', 'archive.For', 'source', 'downloads', 'of', 'PHP', '7.2.0', 'Alpha', '3', 'please', 'visit', 'thedownloadpage,', 'Windows', 'sources', 'and', 'binaries', 'can', 'be', 'found', 'onwindows.php.net/qa/.The', 'first', 'beta', 'will', 'be', 'released', 'on', 'the', '20th', 'of', 'July.', 'You', 'can', 'also', 'read', 'the', 'full', 'list', 'of', 'planned', 'releases', 'on', 'ourwiki.Thank', 'you', 'for', 'helping', 'us', 'make', 'PHP', 'better.Older', 'News', 'EntriesConferences', 'calling', 'for', 'papersphp[world]', '2018Upcoming', 'conferencesLaravelConf', 'Taiwan', '2018Mid-Atlantic', 'Developer', 'ConferenceInternational', 'PHP', 'Conference', '2018', '-', 'Fall', 'EditionCoderCruise', '2018', '-', 'The', 'Bahamas!User', 'Group', 'EventsSpecial', 'ThanksSocial', 'media@official_phpCopyright', '©', '2001-2018', 'The', 'PHP', 'GroupMy', 'PHP.netContactOther', 'PHP.net', 'sitesMirror', 'sitesPrivacy', 'policy']\n" + "['PHP:', 'Hypertext', 'PreprocessorDownloadsDocumentationGet', 'InvolvedHelpGetting', 'StartedIntroductionA', 'simple', 'tutorialLanguage', 'ReferenceBasic', 'syntaxTypesVariablesConstantsExpressionsOperatorsControl', 'StructuresFunctionsClasses', 'and', 'ObjectsNamespacesErrorsExceptionsGeneratorsReferences', 'ExplainedPredefined', 'VariablesPredefined', 'ExceptionsPredefined', 'Interfaces', 'and', 'ClassesContext', 'options', 'and', 'parametersSupported', 'Protocols', 'and', 'WrappersSecurityIntroductionGeneral', 'considerationsInstalled', 'as', 'CGI', 'binaryInstalled', 'as', 'an', 'Apache', 'moduleSession', 'SecurityFilesystem', 'SecurityDatabase', 'SecurityError', 'ReportingUsing', 'Register', 'GlobalsUser', 'Submitted', 'DataMagic', 'QuotesHiding', 'PHPKeeping', 'CurrentFeaturesHTTP', 'authentication', 'with', 'PHPCookiesSessionsDealing', 'with', 'XFormsHandling', 'file', 'uploadsUsing', 'remote', 'filesConnection', 'handlingPersistent', 'Database', 'ConnectionsSafe', 'ModeCommand', 'line', 'usageGarbage', 'CollectionDTrace', 'Dynamic', 'TracingFunction', 'ReferenceAffecting', \"PHP's\", 'BehaviourAudio', 'Formats', 'ManipulationAuthentication', 'ServicesCommand', 'Line', 'Specific', 'ExtensionsCompression', 'and', 'Archive', 'ExtensionsCredit', 'Card', 'ProcessingCryptography', 'ExtensionsDatabase', 'ExtensionsDate', 'and', 'Time', 'Related', 'ExtensionsFile', 'System', 'Related', 'ExtensionsHuman', 'Language', 'and', 'Character', 'Encoding', 'SupportImage', 'Processing', 'and', 'GenerationMail', 'Related', 'ExtensionsMathematical', 'ExtensionsNon-Text', 'MIME', 'OutputProcess', 'Control', 'ExtensionsOther', 'Basic', 'ExtensionsOther', 'ServicesSearch', 'Engine', 'ExtensionsServer', 'Specific', 'ExtensionsSession', 'ExtensionsText', 'ProcessingVariable', 'and', 'Type', 'Related', 'ExtensionsWeb', 'ServicesWindows', 'Only', 'ExtensionsXML', 'ManipulationGUI', 'ExtensionsKeyboard', 'Shortcuts?This', 'helpjNext', 'menu', 'itemkPrevious', 'menu', 'itemg', 'pPrevious', 'man', 'pageg', 'nNext', 'man', 'pageGScroll', 'to', 'bottomg', 'gScroll', 'to', 'topg', 'hGoto', 'homepageg', 'sGoto', 'search(current', 'page)/Focus', 'search', 'boxPHP', 'is', 'a', 'popular', 'general-purpose', 'scripting', 'language', 'that', 'is', 'especially', 'suited', 'to', 'web', 'development.Fast,', 'flexible', 'and', 'pragmatic,', 'PHP', 'powers', 'everything', 'from', 'your', 'blog', 'to', 'the', 'most', 'popular', 'websites', 'in', 'the', 'world.Download5.6.36·Release', 'Notes·Upgrading7.0.30·Release', 'Notes·Upgrading7.1.18·Release', 'Notes·Upgrading7.2.7·Release', 'Notes·Upgrading21', 'Jun', '2018PHP', '7.2.7', 'ReleasedPHP', '7.2.7', 'Release', 'AnnouncementThe', 'PHP', 'development', 'team', 'announces', 'the', 'immediate', 'availability', 'of', 'PHP', '7.2.7.', 'This', 'is', 'a', 'primarily', 'a', 'bugfix', 'release', 'which', 'includes', 'a', 'segfault', 'fix', 'for', 'opcache.PHP', '7.2', 'users', 'are', 'encouraged', 'to', 'upgrade', 'to', 'this', 'version.For', 'source', 'downloads', 'of', 'PHP', '7.2.7', 'please', 'visit', 'ourdownloads', 'page,', 'Windows', 'source', 'and', 'binaries', 'can', 'be', 'found', 'onwindows.php.net/download/.', 'The', 'list', 'of', 'changes', 'is', 'recorded', 'in', 'theChangeLog.21', 'Jun', '2018PHP', '7.3.0', 'alpha', '2', 'ReleasedThe', 'PHP', 'team', 'is', 'glad', 'to', 'announce', 'the', 'release', 'of', 'the', 'second', 'PHP', '7.3.0', 'version,', 'PHP', '7.3.0', 'Alpha', '2.', 'The', 'rough', 'outline', 'of', 'the', 'PHP', '7.3', 'release', 'cycle', 'is', 'specified', 'in', 'thePHP', 'Wiki.For', 'source', 'downloads', 'of', 'PHP', '7.3.0', 'Alpha', '2', 'please', 'visit', 'thedownload', 'page.', 'Windows', 'sources', 'and', 'binaries', 'can', 'be', 'found', 'onwindows.php.net/qa/.Please', 'carefully', 'test', 'this', 'version', 'and', 'report', 'any', 'issues', 'found', 'in', 'thebug', 'reporting', 'system.THIS', 'IS', 'A', 'DEVELOPMENT', 'PREVIEW', '-', 'DO', 'NOT', 'USE', 'IT', 'IN', 'PRODUCTION!For', 'more', 'information', 'on', 'the', 'new', 'features', 'and', 'other', 'changes,', 'you', 'can', 'read', 'theNEWSfile,', 'or', 'theUPGRADINGfile', 'for', 'a', 'complete', 'list', 'of', 'upgrading', 'notes.', 'These', 'files', 'can', 'also', 'be', 'found', 'in', 'the', 'release', 'archive.The', 'next', 'release', 'would', 'be', 'Alpha', '3,', 'planned', 'for', 'July', '5.The', 'signatures', 'for', 'the', 'release', 'can', 'be', 'found', 'inthe', 'manifestor', 'onthe', 'QA', 'site.Thank', 'you', 'for', 'helping', 'us', 'make', 'PHP', 'better.07', 'Jun', '2018PHP', '7.3.0', 'alpha', '1', 'ReleasedPHP', 'team', 'is', 'glad', 'to', 'announce', 'the', 'release', 'of', 'the', 'first', 'PHP', '7.3.0', 'version,', 'PHP', '7.3.0', 'Alpha', '1.', 'This', 'starts', 'the', 'PHP', '7.3', 'release', 'cycle,', 'the', 'rough', 'outline', 'of', 'which', 'is', 'specified', 'in', 'thePHP', 'Wiki.For', 'source', 'downloads', 'of', 'PHP', '7.3.0', 'Alpha', '1', 'please', 'visit', 'thedownload', 'page.Please', 'carefully', 'test', 'this', 'version', 'and', 'report', 'any', 'issues', 'found', 'in', 'thebug', 'reporting', 'system.Please', 'DO', 'NOT', 'use', 'this', 'version', 'in', 'production,', 'it', 'is', 'an', 'early', 'test', 'version.For', 'more', 'information', 'on', 'the', 'new', 'features', 'and', 'other', 'changes,', 'you', 'can', 'read', 'theNEWSfile,', 'or', 'theUPGRADINGfile', 'for', 'a', 'complete', 'list', 'of', 'upgrading', 'notes.', 'These', 'files', 'can', 'also', 'be', 'found', 'in', 'the', 'release', 'archive.The', 'next', 'release', 'would', 'be', 'Alpha', '2,', 'planned', 'for', 'June', '21.The', 'signatures', 'for', 'the', 'release', 'can', 'be', 'found', 'inthe', 'manifestor', 'onthe', 'QA', 'site.Thank', 'you', 'for', 'helping', 'us', 'make', 'PHP', 'better.25', 'May', '2018PHP', '7.1.18', 'ReleasedThe', 'PHP', 'development', 'team', 'announces', 'the', 'immediate', 'availability', 'of', 'PHP', '7.1.18.', 'All', 'PHP', '7.1', 'users', 'are', 'encouraged', 'to', 'upgrade', 'to', 'this', 'version.For', 'source', 'downloads', 'of', 'PHP', '7.1.18', 'please', 'visit', 'ourdownloads', 'page,', 'Windows', 'source', 'and', 'binaries', 'can', 'be', 'found', 'onwindows.php.net/download/.', 'The', 'list', 'of', 'changes', 'is', 'recorded', 'in', 'theChangeLog.24', 'May', '2018PHP', '7.2.6', 'ReleasedThe', 'PHP', 'development', 'team', 'announces', 'the', 'immediate', 'availability', 'of', 'PHP', '7.2.6.', 'This', 'is', 'a', 'primarily', 'a', 'bugfix', 'release', 'which', 'includes', 'a', 'memory', 'corruption', 'fix', 'for', 'EXIF.PHP', '7.2', 'users', 'are', 'encouraged', 'to', 'upgrade', 'to', 'this', 'version.For', 'source', 'downloads', 'of', 'PHP', '7.2.6', 'please', 'visit', 'ourdownloads', 'page,', 'Windows', 'source', 'and', 'binaries', 'can', 'be', 'found', 'onwindows.php.net/download/.', 'The', 'list', 'of', 'changes', 'is', 'recorded', 'in', 'theChangeLog.26', 'Apr', '2018PHP', '5.6.36', 'ReleasedThe', 'PHP', 'development', 'team', 'announces', 'the', 'immediate', 'availability', 'of', 'PHP', '5.6.36.', 'This', 'is', 'a', 'security', 'release.', 'Several', 'security', 'bugs', 'have', 'been', 'fixed', 'in', 'this', 'release.', 'All', 'PHP', '5.6', 'users', 'are', 'encouraged', 'to', 'upgrade', 'to', 'this', 'version.For', 'source', 'downloads', 'of', 'PHP', '5.6.36', 'please', 'visit', 'ourdownloads', 'page,', 'Windows', 'source', 'and', 'binaries', 'can', 'be', 'found', 'onwindows.php.net/download/.', 'The', 'list', 'of', 'changes', 'is', 'recorded', 'in', 'theChangeLog.26', 'Apr', '2018PHP', '7.1.17', 'ReleasedThe', 'PHP', 'development', 'team', 'announces', 'the', 'immediate', 'availability', 'of', 'PHP', '7.1.17.', 'This', 'is', 'a', 'security', 'fix', 'release,', 'containing', 'many', 'bugfixes.', 'All', 'PHP', '7.1', 'users', 'are', 'encouraged', 'to', 'upgrade', 'to', 'this', 'version.For', 'source', 'downloads', 'of', 'PHP', '7.1.17', 'please', 'visit', 'ourdownloads', 'page,', 'Windows', 'source', 'and', 'binaries', 'can', 'be', 'found', 'onwindows.php.net/download/.', 'The', 'list', 'of', 'changes', 'is', 'recorded', 'in', 'theChangeLog.26', 'Apr', '2018PHP', '7.0.30', 'ReleasedThe', 'PHP', 'development', 'team', 'announces', 'the', 'immediate', 'availability', 'of', 'PHP', '7.0.30.', 'This', 'is', 'a', 'security', 'release.', 'Several', 'security', 'bugs', 'have', 'been', 'fixed', 'in', 'this', 'release.', 'All', 'PHP', '7.0', 'users', 'are', 'encouraged', 'to', 'upgrade', 'to', 'this', 'version.For', 'source', 'downloads', 'of', 'PHP', '7.0.30', 'please', 'visit', 'ourdownloads', 'page,', 'Windows', 'source', 'and', 'binaries', 'can', 'be', 'found', 'onwindows.php.net/download/.', 'The', 'list', 'of', 'changes', 'is', 'recorded', 'in', 'theChangeLog.01', 'Feb', '2018PHP', '7.2.2', 'ReleasedThe', 'PHP', 'development', 'team', 'announces', 'the', 'immediate', 'availability', 'of', 'PHP', '7.2.2.', 'This', 'is', 'a', 'bugfix', 'release,', 'with', 'several', 'bug', 'fixes', 'included.All', 'PHP', '7.2', 'users', 'are', 'encouraged', 'to', 'upgrade', 'to', 'this', 'version.For', 'source', 'downloads', 'of', 'PHP', '7.2.2', 'please', 'visit', 'ourdownloads', 'page,', 'Windows', 'source', 'and', 'binaries', 'can', 'be', 'found', 'onwindows.php.net/download/.', 'The', 'list', 'of', 'changes', 'is', 'recorded', 'in', 'theChangeLog.12', 'Oct', '2017PHP', '7.2.0', 'Release', 'Candidate', '4', 'ReleasedThe', 'PHP', 'development', 'team', 'announces', 'the', 'immediate', 'availability', 'of', 'PHP', '7.2.0', 'RC4.', 'This', 'release', 'is', 'the', 'fourth', 'Release', 'Candidate', 'for', '7.2.0.', 'All', 'users', 'of', 'PHP', 'are', 'encouraged', 'to', 'test', 'this', 'version', 'carefully,', 'and', 'report', 'any', 'bugs', 'and', 'incompatibilities', 'in', 'thebug', 'tracking', 'system.THIS', 'IS', 'A', 'DEVELOPMENT', 'PREVIEW', '-', 'DO', 'NOT', 'USE', 'IT', 'IN', 'PRODUCTION!For', 'more', 'information', 'on', 'the', 'new', 'features', 'and', 'other', 'changes,', 'you', 'can', 'read', 'theNEWSfile,', 'or', 'theUPGRADINGfile', 'for', 'a', 'complete', 'list', 'of', 'upgrading', 'notes.', 'These', 'files', 'can', 'also', 'be', 'found', 'in', 'the', 'release', 'archive.For', 'source', 'downloads', 'of', 'PHP', '7.2.0', 'Release', 'Candidate', '4', 'please', 'visit', 'thedownloadpage,', 'Windows', 'sources', 'and', 'binaries', 'can', 'be', 'found', 'atwindows.php.net/qa/.The', 'next', 'Release', 'Candidate', 'will', 'be', 'announced', 'on', 'the', '26th', 'of', 'October.', 'You', 'can', 'also', 'read', 'the', 'full', 'list', 'of', 'planned', 'releases', 'onour', 'wiki.Thank', 'you', 'for', 'helping', 'us', 'make', 'PHP', 'better.28', 'Sep', '2017PHP', '7.2.0', 'Release', 'Candidate', '3', 'ReleasedThe', 'PHP', 'development', 'team', 'announces', 'the', 'immediate', 'availability', 'of', 'PHP', '7.2.0', 'RC3.', 'This', 'release', 'is', 'the', 'third', 'Release', 'Candidate', 'for', '7.2.0.', 'All', 'users', 'of', 'PHP', 'are', 'encouraged', 'to', 'test', 'this', 'version', 'carefully,', 'and', 'report', 'any', 'bugs', 'and', 'incompatibilities', 'in', 'thebug', 'tracking', 'system.THIS', 'IS', 'A', 'DEVELOPMENT', 'PREVIEW', '-', 'DO', 'NOT', 'USE', 'IT', 'IN', 'PRODUCTION!For', 'more', 'information', 'on', 'the', 'new', 'features', 'and', 'other', 'changes,', 'you', 'can', 'read', 'theNEWSfile,', 'or', 'theUPGRADINGfile', 'for', 'a', 'complete', 'list', 'of', 'upgrading', 'notes.', 'These', 'files', 'can', 'also', 'be', 'found', 'in', 'the', 'release', 'archive.For', 'source', 'downloads', 'of', 'PHP', '7.2.0', 'Release', 'Candidate', '3', 'please', 'visit', 'thedownloadpage,', 'Windows', 'sources', 'and', 'binaries', 'can', 'be', 'found', 'atwindows.php.net/qa/.The', 'next', 'Release', 'Candidate', 'will', 'be', 'announced', 'on', 'the', '12th', 'of', 'October.', 'You', 'can', 'also', 'read', 'the', 'full', 'list', 'of', 'planned', 'releases', 'onour', 'wiki.Thank', 'you', 'for', 'helping', 'us', 'make', 'PHP', 'better.31', 'Aug', '2017PHP', '7.2.0', 'Release', 'Candidate', '1', 'ReleasedThe', 'PHP', 'development', 'team', 'announces', 'the', 'immediate', 'availability', 'of', 'PHP', '7.2.0', 'Release', 'Candidate', '1.', 'This', 'release', 'is', 'the', 'first', 'Release', 'Candidate', 'for', '7.2.0.', 'All', 'users', 'of', 'PHP', 'are', 'encouraged', 'to', 'test', 'this', 'version', 'carefully,', 'and', 'report', 'any', 'bugs', 'and', 'incompatibilities', 'in', 'thebug', 'tracking', 'system.THIS', 'IS', 'A', 'DEVELOPMENT', 'PREVIEW', '-', 'DO', 'NOT', 'USE', 'IT', 'IN', 'PRODUCTION!For', 'more', 'information', 'on', 'the', 'new', 'features', 'and', 'other', 'changes,', 'you', 'can', 'read', 'theNEWSfile,', 'or', 'theUPGRADINGfile', 'for', 'a', 'complete', 'list', 'of', 'upgrading', 'notes.', 'These', 'files', 'can', 'also', 'be', 'found', 'in', 'the', 'release', 'archive.For', 'source', 'downloads', 'of', 'PHP', '7.2.0', 'Release', 'Candidate', '1', 'please', 'visit', 'thedownloadpage,', 'Windows', 'sources', 'and', 'binaries', 'can', 'be', 'found', 'atwindows.php.net/qa/.The', 'second', 'Release', 'Candidate', 'will', 'be', 'released', 'on', 'the', '14th', 'of', 'September.', 'You', 'can', 'also', 'read', 'the', 'full', 'list', 'of', 'planned', 'releases', 'onour', 'wiki.Thank', 'you', 'for', 'helping', 'us', 'make', 'PHP', 'better.17', 'Aug', '2017PHP', '7.2.0', 'Beta', '3', 'ReleasedThe', 'PHP', 'development', 'team', 'announces', 'the', 'immediate', 'availability', 'of', 'PHP', '7.2.0', 'Beta', '3.', 'This', 'release', 'is', 'the', 'third', 'and', 'final', 'beta', 'for', '7.2.0.', 'All', 'users', 'of', 'PHP', 'are', 'encouraged', 'to', 'test', 'this', 'version', 'carefully,', 'and', 'report', 'any', 'bugs', 'and', 'incompatibilities', 'in', 'thebug', 'tracking', 'system.THIS', 'IS', 'A', 'DEVELOPMENT', 'PREVIEW', '-', 'DO', 'NOT', 'USE', 'IT', 'IN', 'PRODUCTION!For', 'more', 'information', 'on', 'the', 'new', 'features', 'and', 'other', 'changes,', 'you', 'can', 'read', 'theNEWSfile,', 'or', 'theUPGRADINGfile', 'for', 'a', 'complete', 'list', 'of', 'upgrading', 'notes.', 'These', 'files', 'can', 'also', 'be', 'found', 'in', 'the', 'release', 'archive.For', 'source', 'downloads', 'of', 'PHP', '7.2.0', 'Beta', '3', 'please', 'visit', 'thedownloadpage,', 'Windows', 'sources', 'and', 'binaries', 'can', 'be', 'found', 'atwindows.php.net/qa/.The', 'first', 'Release', 'Candidate', 'will', 'be', 'released', 'on', 'the', '31th', 'of', 'August.', 'You', 'can', 'also', 'read', 'the', 'full', 'list', 'of', 'planned', 'releases', 'onour', 'wiki.Thank', 'you', 'for', 'helping', 'us', 'make', 'PHP', 'better.06', 'Jul', '2017PHP', '7.2.0', 'Alpha', '3', 'ReleasedThe', 'PHP', 'development', 'team', 'announces', 'the', 'immediate', 'availability', 'of', 'PHP', '7.2.0', 'Alpha', '3.', 'This', 'release', 'contains', 'fixes', 'and', 'improvements', 'relative', 'to', 'Alpha', '2.', 'All', 'users', 'of', 'PHP', 'are', 'encouraged', 'to', 'test', 'this', 'version', 'carefully,', 'and', 'report', 'any', 'bugs', 'and', 'incompatibilities', 'in', 'thebug', 'tracking', 'system.THIS', 'IS', 'A', 'DEVELOPMENT', 'PREVIEW', '-', 'DO', 'NOT', 'USE', 'IT', 'IN', 'PRODUCTION!For', 'information', 'on', 'new', 'features', 'and', 'other', 'changes,', 'you', 'can', 'read', 'theNEWSfile,', 'or', 'theUPGRADINGfile', 'for', 'a', 'complete', 'list', 'of', 'upgrading', 'notes.', 'These', 'files', 'can', 'also', 'be', 'found', 'in', 'the', 'release', 'archive.For', 'source', 'downloads', 'of', 'PHP', '7.2.0', 'Alpha', '3', 'please', 'visit', 'thedownloadpage,', 'Windows', 'sources', 'and', 'binaries', 'can', 'be', 'found', 'onwindows.php.net/qa/.The', 'first', 'beta', 'will', 'be', 'released', 'on', 'the', '20th', 'of', 'July.', 'You', 'can', 'also', 'read', 'the', 'full', 'list', 'of', 'planned', 'releases', 'on', 'ourwiki.Thank', 'you', 'for', 'helping', 'us', 'make', 'PHP', 'better.Older', 'News', 'EntriesConferences', 'calling', 'for', 'papersphp[world]', '2018Upcoming', 'conferencesLaravelConf', 'Taiwan', '2018Mid-Atlantic', 'Developer', 'ConferenceInternational', 'PHP', 'Conference', '2018', '-', 'Fall', 'EditionCoderCruise', '2018', '-', 'The', 'Bahamas!User', 'Group', 'EventsSpecial', 'ThanksSocial', 'media@official_phpCopyright', '©', '2001-2018', 'The', 'PHP', 'GroupMy', 'PHP.netContactOther', 'PHP.net', 'sitesMirror', 'sitesPrivacy', 'policy']\n" ] } ], @@ -145,7 +148,7 @@ }, { "cell_type": "code", - "execution_count": 19, + "execution_count": 6, "metadata": {}, "outputs": [ { @@ -162,7 +165,7 @@ "ReferenceBasic:1\n", "syntaxTypesVariablesConstantsExpressionsOperatorsControl:1\n", "StructuresFunctionsClasses:1\n", - "and:41\n", + "and:44\n", "ObjectsNamespacesErrorsExceptionsGeneratorsReferences:1\n", "ExplainedPredefined:1\n", "VariablesPredefined:1\n", @@ -264,7 +267,7 @@ "pageg:1\n", "nNext:1\n", "pageGScroll:1\n", - "to:25\n", + "to:26\n", "bottomg:1\n", "gScroll:1\n", "topg:1\n", @@ -275,8 +278,8 @@ "page)/Focus:1\n", "search:1\n", "boxPHP:1\n", - "is:22\n", - "a:15\n", + "is:24\n", + "a:18\n", "popular:2\n", "general-purpose:1\n", "scripting:1\n", @@ -288,147 +291,175 @@ "development.Fast,:1\n", "flexible:1\n", "pragmatic,:1\n", - "PHP:60\n", + "PHP:65\n", "powers:1\n", "everything:1\n", "from:1\n", "your:1\n", "blog:1\n", - "the:44\n", + "the:50\n", "most:1\n", "websites:1\n", - "in:24\n", + "in:27\n", "world.Download5.6.36·Release:1\n", "Notes·Upgrading7.0.30·Release:1\n", "Notes·Upgrading7.1.18·Release:1\n", - "Notes·Upgrading7.2.6·Release:1\n", - "Notes·Upgrading07:1\n", - "Jun:1\n", - "2018PHP:8\n", - "7.3.0:4\n", - "alpha:1\n", + "Notes·Upgrading7.2.7·Release:1\n", + "Notes·Upgrading21:1\n", + "Jun:3\n", + "2018PHP:9\n", + "7.2.7:3\n", + "ReleasedPHP:2\n", + "Release:15\n", + "AnnouncementThe:1\n", + "development:12\n", + "team:14\n", + "announces:12\n", + "immediate:12\n", + "availability:12\n", + "of:59\n", + "7.2.7.:1\n", + "This:12\n", + "primarily:2\n", + "bugfix:3\n", + "release:22\n", + "which:3\n", + "includes:2\n", + "segfault:1\n", + "fix:3\n", + "for:25\n", + "opcache.PHP:1\n", + "7.2:3\n", + "users:12\n", + "are:12\n", + "encouraged:12\n", + "upgrade:7\n", + "this:17\n", + "version.For:8\n", + "source:21\n", + "downloads:14\n", + "please:14\n", + "visit:14\n", + "ourdownloads:7\n", + "page,:7\n", + "Windows:13\n", + "binaries:13\n", + "can:34\n", + "be:29\n", + "found:24\n", + "onwindows.php.net/download/.:7\n", + "The:10\n", + "list:19\n", + "changes:7\n", + "recorded:7\n", + "theChangeLog.21:1\n", + "7.3.0:8\n", + "alpha:2\n", + "2:2\n", + "ReleasedThe:12\n", + "glad:2\n", + "announce:2\n", + "second:2\n", + "version,:2\n", + "Alpha:10\n", + "2.:2\n", + "rough:2\n", + "outline:2\n", + "7.3:2\n", + "cycle:1\n", + "specified:2\n", + "thePHP:2\n", + "Wiki.For:2\n", + "thedownload:2\n", + "page.:1\n", + "sources:6\n", + "onwindows.php.net/qa/.Please:1\n", + "carefully:2\n", + "test:8\n", + "version:8\n", + "report:7\n", + "any:7\n", + "issues:2\n", + "thebug:7\n", + "reporting:2\n", + "system.THIS:6\n", + "IS:6\n", + "A:6\n", + "DEVELOPMENT:6\n", + "PREVIEW:6\n", + "-:8\n", + "DO:7\n", + "NOT:7\n", + "USE:6\n", + "IT:6\n", + "IN:6\n", + "PRODUCTION!For:6\n", + "more:6\n", + "information:7\n", + "on:13\n", + "new:7\n", + "features:7\n", + "other:7\n", + "changes,:7\n", + "you:14\n", + "read:12\n", + "theNEWSfile,:7\n", + "or:7\n", + "theUPGRADINGfile:7\n", + "complete:7\n", + "upgrading:7\n", + "notes.:7\n", + "These:7\n", + "files:7\n", + "also:12\n", + "archive.The:2\n", + "next:4\n", + "would:2\n", + "3,:1\n", + "planned:7\n", + "July:1\n", + "5.The:1\n", + "signatures:2\n", + "inthe:2\n", + "manifestor:2\n", + "onthe:2\n", + "QA:2\n", + "site.Thank:2\n", + "helping:7\n", + "us:7\n", + "make:7\n", + "better.07:1\n", "1:4\n", - "ReleasedPHP:1\n", - "team:13\n", - "glad:1\n", - "announce:1\n", - "release:17\n", - "of:55\n", "first:4\n", - "version,:1\n", - "Alpha:7\n", "1.:2\n", - "This:12\n", "starts:1\n", - "7.3:1\n", "cycle,:1\n", - "rough:1\n", - "outline:1\n", - "which:3\n", - "specified:1\n", - "thePHP:1\n", - "Wiki.For:1\n", - "source:20\n", - "downloads:13\n", - "please:13\n", - "visit:13\n", - "thedownload:1\n", "page.Please:1\n", - "carefully:1\n", - "test:7\n", - "this:16\n", - "version:7\n", - "report:6\n", - "any:6\n", - "issues:1\n", - "found:20\n", - "thebug:6\n", - "reporting:1\n", "system.Please:1\n", - "DO:6\n", - "NOT:6\n", "use:1\n", "production,:1\n", "it:1\n", "early:1\n", - "version.For:8\n", - "more:5\n", - "information:6\n", - "on:12\n", - "new:6\n", - "features:6\n", - "other:6\n", - "changes,:6\n", - "you:12\n", - "can:30\n", - "read:11\n", - "theNEWSfile,:6\n", - "or:6\n", - "theUPGRADINGfile:6\n", - "for:20\n", - "complete:6\n", - "list:18\n", - "upgrading:6\n", - "notes.:6\n", - "These:6\n", - "files:6\n", - "also:12\n", - "be:25\n", - "archive.The:1\n", - "next:3\n", - "would:1\n", "2,:1\n", - "planned:6\n", "June:1\n", "21.The:1\n", - "signatures:1\n", - "inthe:1\n", - "manifestor:1\n", - "onthe:1\n", - "QA:1\n", - "site.Thank:1\n", - "helping:6\n", - "us:6\n", - "make:6\n", "better.25:1\n", "May:2\n", "7.1.18:2\n", - "ReleasedThe:12\n", - "development:12\n", - "announces:12\n", - "immediate:12\n", - "availability:12\n", "7.1.18.:1\n", "All:9\n", "7.1:2\n", - "users:12\n", - "are:12\n", - "encouraged:12\n", - "upgrade:7\n", - "ourdownloads:7\n", - "page,:7\n", - "Windows:12\n", - "binaries:12\n", - "onwindows.php.net/download/.:7\n", - "The:9\n", - "changes:7\n", - "recorded:7\n", "theChangeLog.24:1\n", "7.2.6:2\n", "7.2.6.:1\n", - "primarily:1\n", - "bugfix:2\n", - "includes:1\n", "memory:1\n", "corruption:1\n", - "fix:2\n", "EXIF.PHP:1\n", - "7.2:3\n", - "theChangeLog.26:4\n", - "Apr:4\n", + "theChangeLog.26:3\n", + "Apr:3\n", "5.6.36:2\n", "5.6.36.:1\n", - "security:6\n", + "security:5\n", "release.:4\n", "Several:2\n", "bugs:7\n", @@ -445,24 +476,18 @@ "7.0.30:2\n", "7.0.30.:1\n", "7.0:1\n", - "7.2.5:2\n", - "7.2.5.:1\n", - "contains:2\n", - "several:2\n", - "minor:1\n", - "bug:2\n", - "fixes.All:1\n", "theChangeLog.01:1\n", "Feb:1\n", "7.2.2:2\n", "7.2.2.:1\n", + "several:1\n", + "bug:1\n", "fixes:2\n", "included.All:1\n", "theChangeLog.12:1\n", "Oct:1\n", "2017PHP:5\n", "7.2.0:15\n", - "Release:14\n", "Candidate:14\n", "4:2\n", "RC4.:1\n", @@ -471,19 +496,8 @@ "carefully,:5\n", "incompatibilities:5\n", "tracking:5\n", - "system.THIS:5\n", - "IS:5\n", - "A:5\n", - "DEVELOPMENT:5\n", - "PREVIEW:5\n", - "-:7\n", - "USE:5\n", - "IT:5\n", - "IN:5\n", - "PRODUCTION!For:5\n", "archive.For:5\n", "thedownloadpage,:5\n", - "sources:5\n", "atwindows.php.net/qa/.The:4\n", "will:5\n", "announced:2\n", @@ -502,7 +516,6 @@ "12th:1\n", "better.31:1\n", "Aug:2\n", - "second:1\n", "released:3\n", "14th:1\n", "September.:1\n", @@ -515,9 +528,9 @@ "August.:1\n", "better.06:1\n", "Jul:1\n", + "contains:1\n", "improvements:1\n", "relative:1\n", - "2.:1\n", "onwindows.php.net/qa/.The:1\n", "20th:1\n", "July.:1\n", @@ -569,7 +582,7 @@ }, { "cell_type": "code", - "execution_count": 27, + "execution_count": 7, "metadata": {}, "outputs": [ { @@ -603,14 +616,14 @@ }, { "cell_type": "code", - "execution_count": 28, + "execution_count": 8, "metadata": {}, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ - "['PHP:', 'Hypertext', 'PreprocessorDownloadsDocumentationGet', 'InvolvedHelpGetting', 'StartedIntroductionA', 'simple', 'tutorialLanguage', 'ReferenceBasic', 'syntaxTypesVariablesConstantsExpressionsOperatorsControl', 'StructuresFunctionsClasses', 'ObjectsNamespacesErrorsExceptionsGeneratorsReferences', 'ExplainedPredefined', 'VariablesPredefined', 'ExceptionsPredefined', 'Interfaces', 'ClassesContext', 'options', 'parametersSupported', 'Protocols', 'WrappersSecurityIntroductionGeneral', 'considerationsInstalled', 'CGI', 'binaryInstalled', 'Apache', 'moduleSession', 'SecurityFilesystem', 'SecurityDatabase', 'SecurityError', 'ReportingUsing', 'Register', 'GlobalsUser', 'Submitted', 'DataMagic', 'QuotesHiding', 'PHPKeeping', 'CurrentFeaturesHTTP', 'authentication', 'PHPCookiesSessionsDealing', 'XFormsHandling', 'file', 'uploadsUsing', 'remote', 'filesConnection', 'handlingPersistent', 'Database', 'ConnectionsSafe', 'ModeCommand', 'line', 'usageGarbage', 'CollectionDTrace', 'Dynamic', 'TracingFunction', 'ReferenceAffecting', \"PHP's\", 'BehaviourAudio', 'Formats', 'ManipulationAuthentication', 'ServicesCommand', 'Line', 'Specific', 'ExtensionsCompression', 'Archive', 'ExtensionsCredit', 'Card', 'ProcessingCryptography', 'ExtensionsDatabase', 'ExtensionsDate', 'Time', 'Related', 'ExtensionsFile', 'System', 'Related', 'ExtensionsHuman', 'Language', 'Character', 'Encoding', 'SupportImage', 'Processing', 'GenerationMail', 'Related', 'ExtensionsMathematical', 'ExtensionsNon-Text', 'MIME', 'OutputProcess', 'Control', 'ExtensionsOther', 'Basic', 'ExtensionsOther', 'ServicesSearch', 'Engine', 'ExtensionsServer', 'Specific', 'ExtensionsSession', 'ExtensionsText', 'ProcessingVariable', 'Type', 'Related', 'ExtensionsWeb', 'ServicesWindows', 'Only', 'ExtensionsXML', 'ManipulationGUI', 'ExtensionsKeyboard', 'Shortcuts?This', 'helpjNext', 'menu', 'itemkPrevious', 'menu', 'itemg', 'pPrevious', 'man', 'pageg', 'nNext', 'man', 'pageGScroll', 'bottomg', 'gScroll', 'topg', 'hGoto', 'homepageg', 'sGoto', 'search(current', 'page)/Focus', 'search', 'boxPHP', 'popular', 'general-purpose', 'scripting', 'language', 'especially', 'suited', 'web', 'development.Fast,', 'flexible', 'pragmatic,', 'PHP', 'powers', 'everything', 'blog', 'popular', 'websites', 'world.Download5.6.36·Release', 'Notes·Upgrading7.0.30·Release', 'Notes·Upgrading7.1.18·Release', 'Notes·Upgrading7.2.6·Release', 'Notes·Upgrading07', 'Jun', '2018PHP', '7.3.0', 'alpha', '1', 'ReleasedPHP', 'team', 'glad', 'announce', 'release', 'first', 'PHP', '7.3.0', 'version,', 'PHP', '7.3.0', 'Alpha', '1.', 'This', 'starts', 'PHP', '7.3', 'release', 'cycle,', 'rough', 'outline', 'specified', 'thePHP', 'Wiki.For', 'source', 'downloads', 'PHP', '7.3.0', 'Alpha', '1', 'please', 'visit', 'thedownload', 'page.Please', 'carefully', 'test', 'version', 'report', 'issues', 'found', 'thebug', 'reporting', 'system.Please', 'DO', 'NOT', 'use', 'version', 'production,', 'early', 'test', 'version.For', 'information', 'new', 'features', 'changes,', 'read', 'theNEWSfile,', 'theUPGRADINGfile', 'complete', 'list', 'upgrading', 'notes.', 'These', 'files', 'also', 'found', 'release', 'archive.The', 'next', 'release', 'would', 'Alpha', '2,', 'planned', 'June', '21.The', 'signatures', 'release', 'found', 'inthe', 'manifestor', 'onthe', 'QA', 'site.Thank', 'helping', 'us', 'make', 'PHP', 'better.25', 'May', '2018PHP', '7.1.18', 'ReleasedThe', 'PHP', 'development', 'team', 'announces', 'immediate', 'availability', 'PHP', '7.1.18.', 'All', 'PHP', '7.1', 'users', 'encouraged', 'upgrade', 'version.For', 'source', 'downloads', 'PHP', '7.1.18', 'please', 'visit', 'ourdownloads', 'page,', 'Windows', 'source', 'binaries', 'found', 'onwindows.php.net/download/.', 'The', 'list', 'changes', 'recorded', 'theChangeLog.24', 'May', '2018PHP', '7.2.6', 'ReleasedThe', 'PHP', 'development', 'team', 'announces', 'immediate', 'availability', 'PHP', '7.2.6.', 'This', 'primarily', 'bugfix', 'release', 'includes', 'memory', 'corruption', 'fix', 'EXIF.PHP', '7.2', 'users', 'encouraged', 'upgrade', 'version.For', 'source', 'downloads', 'PHP', '7.2.6', 'please', 'visit', 'ourdownloads', 'page,', 'Windows', 'source', 'binaries', 'found', 'onwindows.php.net/download/.', 'The', 'list', 'changes', 'recorded', 'theChangeLog.26', 'Apr', '2018PHP', '5.6.36', 'ReleasedThe', 'PHP', 'development', 'team', 'announces', 'immediate', 'availability', 'PHP', '5.6.36.', 'This', 'security', 'release.', 'Several', 'security', 'bugs', 'fixed', 'release.', 'All', 'PHP', '5.6', 'users', 'encouraged', 'upgrade', 'version.For', 'source', 'downloads', 'PHP', '5.6.36', 'please', 'visit', 'ourdownloads', 'page,', 'Windows', 'source', 'binaries', 'found', 'onwindows.php.net/download/.', 'The', 'list', 'changes', 'recorded', 'theChangeLog.26', 'Apr', '2018PHP', '7.1.17', 'ReleasedThe', 'PHP', 'development', 'team', 'announces', 'immediate', 'availability', 'PHP', '7.1.17.', 'This', 'security', 'fix', 'release,', 'containing', 'many', 'bugfixes.', 'All', 'PHP', '7.1', 'users', 'encouraged', 'upgrade', 'version.For', 'source', 'downloads', 'PHP', '7.1.17', 'please', 'visit', 'ourdownloads', 'page,', 'Windows', 'source', 'binaries', 'found', 'onwindows.php.net/download/.', 'The', 'list', 'changes', 'recorded', 'theChangeLog.26', 'Apr', '2018PHP', '7.0.30', 'ReleasedThe', 'PHP', 'development', 'team', 'announces', 'immediate', 'availability', 'PHP', '7.0.30.', 'This', 'security', 'release.', 'Several', 'security', 'bugs', 'fixed', 'release.', 'All', 'PHP', '7.0', 'users', 'encouraged', 'upgrade', 'version.For', 'source', 'downloads', 'PHP', '7.0.30', 'please', 'visit', 'ourdownloads', 'page,', 'Windows', 'source', 'binaries', 'found', 'onwindows.php.net/download/.', 'The', 'list', 'changes', 'recorded', 'theChangeLog.26', 'Apr', '2018PHP', '7.2.5', 'ReleasedThe', 'PHP', 'development', 'team', 'announces', 'immediate', 'availability', 'PHP', '7.2.5.', 'This', 'security', 'release', 'also', 'contains', 'several', 'minor', 'bug', 'fixes.All', 'PHP', '7.2', 'users', 'encouraged', 'upgrade', 'version.For', 'source', 'downloads', 'PHP', '7.2.5', 'please', 'visit', 'ourdownloads', 'page,', 'Windows', 'source', 'binaries', 'found', 'onwindows.php.net/download/.', 'The', 'list', 'changes', 'recorded', 'theChangeLog.01', 'Feb', '2018PHP', '7.2.2', 'ReleasedThe', 'PHP', 'development', 'team', 'announces', 'immediate', 'availability', 'PHP', '7.2.2.', 'This', 'bugfix', 'release,', 'several', 'bug', 'fixes', 'included.All', 'PHP', '7.2', 'users', 'encouraged', 'upgrade', 'version.For', 'source', 'downloads', 'PHP', '7.2.2', 'please', 'visit', 'ourdownloads', 'page,', 'Windows', 'source', 'binaries', 'found', 'onwindows.php.net/download/.', 'The', 'list', 'changes', 'recorded', 'theChangeLog.12', 'Oct', '2017PHP', '7.2.0', 'Release', 'Candidate', '4', 'ReleasedThe', 'PHP', 'development', 'team', 'announces', 'immediate', 'availability', 'PHP', '7.2.0', 'RC4.', 'This', 'release', 'fourth', 'Release', 'Candidate', '7.2.0.', 'All', 'users', 'PHP', 'encouraged', 'test', 'version', 'carefully,', 'report', 'bugs', 'incompatibilities', 'thebug', 'tracking', 'system.THIS', 'IS', 'A', 'DEVELOPMENT', 'PREVIEW', '-', 'DO', 'NOT', 'USE', 'IT', 'IN', 'PRODUCTION!For', 'information', 'new', 'features', 'changes,', 'read', 'theNEWSfile,', 'theUPGRADINGfile', 'complete', 'list', 'upgrading', 'notes.', 'These', 'files', 'also', 'found', 'release', 'archive.For', 'source', 'downloads', 'PHP', '7.2.0', 'Release', 'Candidate', '4', 'please', 'visit', 'thedownloadpage,', 'Windows', 'sources', 'binaries', 'found', 'atwindows.php.net/qa/.The', 'next', 'Release', 'Candidate', 'announced', '26th', 'October.', 'You', 'also', 'read', 'full', 'list', 'planned', 'releases', 'onour', 'wiki.Thank', 'helping', 'us', 'make', 'PHP', 'better.28', 'Sep', '2017PHP', '7.2.0', 'Release', 'Candidate', '3', 'ReleasedThe', 'PHP', 'development', 'team', 'announces', 'immediate', 'availability', 'PHP', '7.2.0', 'RC3.', 'This', 'release', 'third', 'Release', 'Candidate', '7.2.0.', 'All', 'users', 'PHP', 'encouraged', 'test', 'version', 'carefully,', 'report', 'bugs', 'incompatibilities', 'thebug', 'tracking', 'system.THIS', 'IS', 'A', 'DEVELOPMENT', 'PREVIEW', '-', 'DO', 'NOT', 'USE', 'IT', 'IN', 'PRODUCTION!For', 'information', 'new', 'features', 'changes,', 'read', 'theNEWSfile,', 'theUPGRADINGfile', 'complete', 'list', 'upgrading', 'notes.', 'These', 'files', 'also', 'found', 'release', 'archive.For', 'source', 'downloads', 'PHP', '7.2.0', 'Release', 'Candidate', '3', 'please', 'visit', 'thedownloadpage,', 'Windows', 'sources', 'binaries', 'found', 'atwindows.php.net/qa/.The', 'next', 'Release', 'Candidate', 'announced', '12th', 'October.', 'You', 'also', 'read', 'full', 'list', 'planned', 'releases', 'onour', 'wiki.Thank', 'helping', 'us', 'make', 'PHP', 'better.31', 'Aug', '2017PHP', '7.2.0', 'Release', 'Candidate', '1', 'ReleasedThe', 'PHP', 'development', 'team', 'announces', 'immediate', 'availability', 'PHP', '7.2.0', 'Release', 'Candidate', '1.', 'This', 'release', 'first', 'Release', 'Candidate', '7.2.0.', 'All', 'users', 'PHP', 'encouraged', 'test', 'version', 'carefully,', 'report', 'bugs', 'incompatibilities', 'thebug', 'tracking', 'system.THIS', 'IS', 'A', 'DEVELOPMENT', 'PREVIEW', '-', 'DO', 'NOT', 'USE', 'IT', 'IN', 'PRODUCTION!For', 'information', 'new', 'features', 'changes,', 'read', 'theNEWSfile,', 'theUPGRADINGfile', 'complete', 'list', 'upgrading', 'notes.', 'These', 'files', 'also', 'found', 'release', 'archive.For', 'source', 'downloads', 'PHP', '7.2.0', 'Release', 'Candidate', '1', 'please', 'visit', 'thedownloadpage,', 'Windows', 'sources', 'binaries', 'found', 'atwindows.php.net/qa/.The', 'second', 'Release', 'Candidate', 'released', '14th', 'September.', 'You', 'also', 'read', 'full', 'list', 'planned', 'releases', 'onour', 'wiki.Thank', 'helping', 'us', 'make', 'PHP', 'better.17', 'Aug', '2017PHP', '7.2.0', 'Beta', '3', 'ReleasedThe', 'PHP', 'development', 'team', 'announces', 'immediate', 'availability', 'PHP', '7.2.0', 'Beta', '3.', 'This', 'release', 'third', 'final', 'beta', '7.2.0.', 'All', 'users', 'PHP', 'encouraged', 'test', 'version', 'carefully,', 'report', 'bugs', 'incompatibilities', 'thebug', 'tracking', 'system.THIS', 'IS', 'A', 'DEVELOPMENT', 'PREVIEW', '-', 'DO', 'NOT', 'USE', 'IT', 'IN', 'PRODUCTION!For', 'information', 'new', 'features', 'changes,', 'read', 'theNEWSfile,', 'theUPGRADINGfile', 'complete', 'list', 'upgrading', 'notes.', 'These', 'files', 'also', 'found', 'release', 'archive.For', 'source', 'downloads', 'PHP', '7.2.0', 'Beta', '3', 'please', 'visit', 'thedownloadpage,', 'Windows', 'sources', 'binaries', 'found', 'atwindows.php.net/qa/.The', 'first', 'Release', 'Candidate', 'released', '31th', 'August.', 'You', 'also', 'read', 'full', 'list', 'planned', 'releases', 'onour', 'wiki.Thank', 'helping', 'us', 'make', 'PHP', 'better.06', 'Jul', '2017PHP', '7.2.0', 'Alpha', '3', 'ReleasedThe', 'PHP', 'development', 'team', 'announces', 'immediate', 'availability', 'PHP', '7.2.0', 'Alpha', '3.', 'This', 'release', 'contains', 'fixes', 'improvements', 'relative', 'Alpha', '2.', 'All', 'users', 'PHP', 'encouraged', 'test', 'version', 'carefully,', 'report', 'bugs', 'incompatibilities', 'thebug', 'tracking', 'system.THIS', 'IS', 'A', 'DEVELOPMENT', 'PREVIEW', '-', 'DO', 'NOT', 'USE', 'IT', 'IN', 'PRODUCTION!For', 'information', 'new', 'features', 'changes,', 'read', 'theNEWSfile,', 'theUPGRADINGfile', 'complete', 'list', 'upgrading', 'notes.', 'These', 'files', 'also', 'found', 'release', 'archive.For', 'source', 'downloads', 'PHP', '7.2.0', 'Alpha', '3', 'please', 'visit', 'thedownloadpage,', 'Windows', 'sources', 'binaries', 'found', 'onwindows.php.net/qa/.The', 'first', 'beta', 'released', '20th', 'July.', 'You', 'also', 'read', 'full', 'list', 'planned', 'releases', 'ourwiki.Thank', 'helping', 'us', 'make', 'PHP', 'better.Older', 'News', 'EntriesConferences', 'calling', 'papersphp[world]', '2018Upcoming', 'conferencesLaravelConf', 'Taiwan', '2018Mid-Atlantic', 'Developer', 'ConferenceInternational', 'PHP', 'Conference', '2018', '-', 'Fall', 'EditionCoderCruise', '2018', '-', 'The', 'Bahamas!User', 'Group', 'EventsSpecial', 'ThanksSocial', 'media@official_phpCopyright', '©', '2001-2018', 'The', 'PHP', 'GroupMy', 'PHP.netContactOther', 'PHP.net', 'sitesMirror', 'sitesPrivacy', 'policy']\n" + "['PHP:', 'Hypertext', 'PreprocessorDownloadsDocumentationGet', 'InvolvedHelpGetting', 'StartedIntroductionA', 'simple', 'tutorialLanguage', 'ReferenceBasic', 'syntaxTypesVariablesConstantsExpressionsOperatorsControl', 'StructuresFunctionsClasses', 'ObjectsNamespacesErrorsExceptionsGeneratorsReferences', 'ExplainedPredefined', 'VariablesPredefined', 'ExceptionsPredefined', 'Interfaces', 'ClassesContext', 'options', 'parametersSupported', 'Protocols', 'WrappersSecurityIntroductionGeneral', 'considerationsInstalled', 'CGI', 'binaryInstalled', 'Apache', 'moduleSession', 'SecurityFilesystem', 'SecurityDatabase', 'SecurityError', 'ReportingUsing', 'Register', 'GlobalsUser', 'Submitted', 'DataMagic', 'QuotesHiding', 'PHPKeeping', 'CurrentFeaturesHTTP', 'authentication', 'PHPCookiesSessionsDealing', 'XFormsHandling', 'file', 'uploadsUsing', 'remote', 'filesConnection', 'handlingPersistent', 'Database', 'ConnectionsSafe', 'ModeCommand', 'line', 'usageGarbage', 'CollectionDTrace', 'Dynamic', 'TracingFunction', 'ReferenceAffecting', \"PHP's\", 'BehaviourAudio', 'Formats', 'ManipulationAuthentication', 'ServicesCommand', 'Line', 'Specific', 'ExtensionsCompression', 'Archive', 'ExtensionsCredit', 'Card', 'ProcessingCryptography', 'ExtensionsDatabase', 'ExtensionsDate', 'Time', 'Related', 'ExtensionsFile', 'System', 'Related', 'ExtensionsHuman', 'Language', 'Character', 'Encoding', 'SupportImage', 'Processing', 'GenerationMail', 'Related', 'ExtensionsMathematical', 'ExtensionsNon-Text', 'MIME', 'OutputProcess', 'Control', 'ExtensionsOther', 'Basic', 'ExtensionsOther', 'ServicesSearch', 'Engine', 'ExtensionsServer', 'Specific', 'ExtensionsSession', 'ExtensionsText', 'ProcessingVariable', 'Type', 'Related', 'ExtensionsWeb', 'ServicesWindows', 'Only', 'ExtensionsXML', 'ManipulationGUI', 'ExtensionsKeyboard', 'Shortcuts?This', 'helpjNext', 'menu', 'itemkPrevious', 'menu', 'itemg', 'pPrevious', 'man', 'pageg', 'nNext', 'man', 'pageGScroll', 'bottomg', 'gScroll', 'topg', 'hGoto', 'homepageg', 'sGoto', 'search(current', 'page)/Focus', 'search', 'boxPHP', 'popular', 'general-purpose', 'scripting', 'language', 'especially', 'suited', 'web', 'development.Fast,', 'flexible', 'pragmatic,', 'PHP', 'powers', 'everything', 'blog', 'popular', 'websites', 'world.Download5.6.36·Release', 'Notes·Upgrading7.0.30·Release', 'Notes·Upgrading7.1.18·Release', 'Notes·Upgrading7.2.7·Release', 'Notes·Upgrading21', 'Jun', '2018PHP', '7.2.7', 'ReleasedPHP', '7.2.7', 'Release', 'AnnouncementThe', 'PHP', 'development', 'team', 'announces', 'immediate', 'availability', 'PHP', '7.2.7.', 'This', 'primarily', 'bugfix', 'release', 'includes', 'segfault', 'fix', 'opcache.PHP', '7.2', 'users', 'encouraged', 'upgrade', 'version.For', 'source', 'downloads', 'PHP', '7.2.7', 'please', 'visit', 'ourdownloads', 'page,', 'Windows', 'source', 'binaries', 'found', 'onwindows.php.net/download/.', 'The', 'list', 'changes', 'recorded', 'theChangeLog.21', 'Jun', '2018PHP', '7.3.0', 'alpha', '2', 'ReleasedThe', 'PHP', 'team', 'glad', 'announce', 'release', 'second', 'PHP', '7.3.0', 'version,', 'PHP', '7.3.0', 'Alpha', '2.', 'The', 'rough', 'outline', 'PHP', '7.3', 'release', 'cycle', 'specified', 'thePHP', 'Wiki.For', 'source', 'downloads', 'PHP', '7.3.0', 'Alpha', '2', 'please', 'visit', 'thedownload', 'page.', 'Windows', 'sources', 'binaries', 'found', 'onwindows.php.net/qa/.Please', 'carefully', 'test', 'version', 'report', 'issues', 'found', 'thebug', 'reporting', 'system.THIS', 'IS', 'A', 'DEVELOPMENT', 'PREVIEW', '-', 'DO', 'NOT', 'USE', 'IT', 'IN', 'PRODUCTION!For', 'information', 'new', 'features', 'changes,', 'read', 'theNEWSfile,', 'theUPGRADINGfile', 'complete', 'list', 'upgrading', 'notes.', 'These', 'files', 'also', 'found', 'release', 'archive.The', 'next', 'release', 'would', 'Alpha', '3,', 'planned', 'July', '5.The', 'signatures', 'release', 'found', 'inthe', 'manifestor', 'onthe', 'QA', 'site.Thank', 'helping', 'us', 'make', 'PHP', 'better.07', 'Jun', '2018PHP', '7.3.0', 'alpha', '1', 'ReleasedPHP', 'team', 'glad', 'announce', 'release', 'first', 'PHP', '7.3.0', 'version,', 'PHP', '7.3.0', 'Alpha', '1.', 'This', 'starts', 'PHP', '7.3', 'release', 'cycle,', 'rough', 'outline', 'specified', 'thePHP', 'Wiki.For', 'source', 'downloads', 'PHP', '7.3.0', 'Alpha', '1', 'please', 'visit', 'thedownload', 'page.Please', 'carefully', 'test', 'version', 'report', 'issues', 'found', 'thebug', 'reporting', 'system.Please', 'DO', 'NOT', 'use', 'version', 'production,', 'early', 'test', 'version.For', 'information', 'new', 'features', 'changes,', 'read', 'theNEWSfile,', 'theUPGRADINGfile', 'complete', 'list', 'upgrading', 'notes.', 'These', 'files', 'also', 'found', 'release', 'archive.The', 'next', 'release', 'would', 'Alpha', '2,', 'planned', 'June', '21.The', 'signatures', 'release', 'found', 'inthe', 'manifestor', 'onthe', 'QA', 'site.Thank', 'helping', 'us', 'make', 'PHP', 'better.25', 'May', '2018PHP', '7.1.18', 'ReleasedThe', 'PHP', 'development', 'team', 'announces', 'immediate', 'availability', 'PHP', '7.1.18.', 'All', 'PHP', '7.1', 'users', 'encouraged', 'upgrade', 'version.For', 'source', 'downloads', 'PHP', '7.1.18', 'please', 'visit', 'ourdownloads', 'page,', 'Windows', 'source', 'binaries', 'found', 'onwindows.php.net/download/.', 'The', 'list', 'changes', 'recorded', 'theChangeLog.24', 'May', '2018PHP', '7.2.6', 'ReleasedThe', 'PHP', 'development', 'team', 'announces', 'immediate', 'availability', 'PHP', '7.2.6.', 'This', 'primarily', 'bugfix', 'release', 'includes', 'memory', 'corruption', 'fix', 'EXIF.PHP', '7.2', 'users', 'encouraged', 'upgrade', 'version.For', 'source', 'downloads', 'PHP', '7.2.6', 'please', 'visit', 'ourdownloads', 'page,', 'Windows', 'source', 'binaries', 'found', 'onwindows.php.net/download/.', 'The', 'list', 'changes', 'recorded', 'theChangeLog.26', 'Apr', '2018PHP', '5.6.36', 'ReleasedThe', 'PHP', 'development', 'team', 'announces', 'immediate', 'availability', 'PHP', '5.6.36.', 'This', 'security', 'release.', 'Several', 'security', 'bugs', 'fixed', 'release.', 'All', 'PHP', '5.6', 'users', 'encouraged', 'upgrade', 'version.For', 'source', 'downloads', 'PHP', '5.6.36', 'please', 'visit', 'ourdownloads', 'page,', 'Windows', 'source', 'binaries', 'found', 'onwindows.php.net/download/.', 'The', 'list', 'changes', 'recorded', 'theChangeLog.26', 'Apr', '2018PHP', '7.1.17', 'ReleasedThe', 'PHP', 'development', 'team', 'announces', 'immediate', 'availability', 'PHP', '7.1.17.', 'This', 'security', 'fix', 'release,', 'containing', 'many', 'bugfixes.', 'All', 'PHP', '7.1', 'users', 'encouraged', 'upgrade', 'version.For', 'source', 'downloads', 'PHP', '7.1.17', 'please', 'visit', 'ourdownloads', 'page,', 'Windows', 'source', 'binaries', 'found', 'onwindows.php.net/download/.', 'The', 'list', 'changes', 'recorded', 'theChangeLog.26', 'Apr', '2018PHP', '7.0.30', 'ReleasedThe', 'PHP', 'development', 'team', 'announces', 'immediate', 'availability', 'PHP', '7.0.30.', 'This', 'security', 'release.', 'Several', 'security', 'bugs', 'fixed', 'release.', 'All', 'PHP', '7.0', 'users', 'encouraged', 'upgrade', 'version.For', 'source', 'downloads', 'PHP', '7.0.30', 'please', 'visit', 'ourdownloads', 'page,', 'Windows', 'source', 'binaries', 'found', 'onwindows.php.net/download/.', 'The', 'list', 'changes', 'recorded', 'theChangeLog.01', 'Feb', '2018PHP', '7.2.2', 'ReleasedThe', 'PHP', 'development', 'team', 'announces', 'immediate', 'availability', 'PHP', '7.2.2.', 'This', 'bugfix', 'release,', 'several', 'bug', 'fixes', 'included.All', 'PHP', '7.2', 'users', 'encouraged', 'upgrade', 'version.For', 'source', 'downloads', 'PHP', '7.2.2', 'please', 'visit', 'ourdownloads', 'page,', 'Windows', 'source', 'binaries', 'found', 'onwindows.php.net/download/.', 'The', 'list', 'changes', 'recorded', 'theChangeLog.12', 'Oct', '2017PHP', '7.2.0', 'Release', 'Candidate', '4', 'ReleasedThe', 'PHP', 'development', 'team', 'announces', 'immediate', 'availability', 'PHP', '7.2.0', 'RC4.', 'This', 'release', 'fourth', 'Release', 'Candidate', '7.2.0.', 'All', 'users', 'PHP', 'encouraged', 'test', 'version', 'carefully,', 'report', 'bugs', 'incompatibilities', 'thebug', 'tracking', 'system.THIS', 'IS', 'A', 'DEVELOPMENT', 'PREVIEW', '-', 'DO', 'NOT', 'USE', 'IT', 'IN', 'PRODUCTION!For', 'information', 'new', 'features', 'changes,', 'read', 'theNEWSfile,', 'theUPGRADINGfile', 'complete', 'list', 'upgrading', 'notes.', 'These', 'files', 'also', 'found', 'release', 'archive.For', 'source', 'downloads', 'PHP', '7.2.0', 'Release', 'Candidate', '4', 'please', 'visit', 'thedownloadpage,', 'Windows', 'sources', 'binaries', 'found', 'atwindows.php.net/qa/.The', 'next', 'Release', 'Candidate', 'announced', '26th', 'October.', 'You', 'also', 'read', 'full', 'list', 'planned', 'releases', 'onour', 'wiki.Thank', 'helping', 'us', 'make', 'PHP', 'better.28', 'Sep', '2017PHP', '7.2.0', 'Release', 'Candidate', '3', 'ReleasedThe', 'PHP', 'development', 'team', 'announces', 'immediate', 'availability', 'PHP', '7.2.0', 'RC3.', 'This', 'release', 'third', 'Release', 'Candidate', '7.2.0.', 'All', 'users', 'PHP', 'encouraged', 'test', 'version', 'carefully,', 'report', 'bugs', 'incompatibilities', 'thebug', 'tracking', 'system.THIS', 'IS', 'A', 'DEVELOPMENT', 'PREVIEW', '-', 'DO', 'NOT', 'USE', 'IT', 'IN', 'PRODUCTION!For', 'information', 'new', 'features', 'changes,', 'read', 'theNEWSfile,', 'theUPGRADINGfile', 'complete', 'list', 'upgrading', 'notes.', 'These', 'files', 'also', 'found', 'release', 'archive.For', 'source', 'downloads', 'PHP', '7.2.0', 'Release', 'Candidate', '3', 'please', 'visit', 'thedownloadpage,', 'Windows', 'sources', 'binaries', 'found', 'atwindows.php.net/qa/.The', 'next', 'Release', 'Candidate', 'announced', '12th', 'October.', 'You', 'also', 'read', 'full', 'list', 'planned', 'releases', 'onour', 'wiki.Thank', 'helping', 'us', 'make', 'PHP', 'better.31', 'Aug', '2017PHP', '7.2.0', 'Release', 'Candidate', '1', 'ReleasedThe', 'PHP', 'development', 'team', 'announces', 'immediate', 'availability', 'PHP', '7.2.0', 'Release', 'Candidate', '1.', 'This', 'release', 'first', 'Release', 'Candidate', '7.2.0.', 'All', 'users', 'PHP', 'encouraged', 'test', 'version', 'carefully,', 'report', 'bugs', 'incompatibilities', 'thebug', 'tracking', 'system.THIS', 'IS', 'A', 'DEVELOPMENT', 'PREVIEW', '-', 'DO', 'NOT', 'USE', 'IT', 'IN', 'PRODUCTION!For', 'information', 'new', 'features', 'changes,', 'read', 'theNEWSfile,', 'theUPGRADINGfile', 'complete', 'list', 'upgrading', 'notes.', 'These', 'files', 'also', 'found', 'release', 'archive.For', 'source', 'downloads', 'PHP', '7.2.0', 'Release', 'Candidate', '1', 'please', 'visit', 'thedownloadpage,', 'Windows', 'sources', 'binaries', 'found', 'atwindows.php.net/qa/.The', 'second', 'Release', 'Candidate', 'released', '14th', 'September.', 'You', 'also', 'read', 'full', 'list', 'planned', 'releases', 'onour', 'wiki.Thank', 'helping', 'us', 'make', 'PHP', 'better.17', 'Aug', '2017PHP', '7.2.0', 'Beta', '3', 'ReleasedThe', 'PHP', 'development', 'team', 'announces', 'immediate', 'availability', 'PHP', '7.2.0', 'Beta', '3.', 'This', 'release', 'third', 'final', 'beta', '7.2.0.', 'All', 'users', 'PHP', 'encouraged', 'test', 'version', 'carefully,', 'report', 'bugs', 'incompatibilities', 'thebug', 'tracking', 'system.THIS', 'IS', 'A', 'DEVELOPMENT', 'PREVIEW', '-', 'DO', 'NOT', 'USE', 'IT', 'IN', 'PRODUCTION!For', 'information', 'new', 'features', 'changes,', 'read', 'theNEWSfile,', 'theUPGRADINGfile', 'complete', 'list', 'upgrading', 'notes.', 'These', 'files', 'also', 'found', 'release', 'archive.For', 'source', 'downloads', 'PHP', '7.2.0', 'Beta', '3', 'please', 'visit', 'thedownloadpage,', 'Windows', 'sources', 'binaries', 'found', 'atwindows.php.net/qa/.The', 'first', 'Release', 'Candidate', 'released', '31th', 'August.', 'You', 'also', 'read', 'full', 'list', 'planned', 'releases', 'onour', 'wiki.Thank', 'helping', 'us', 'make', 'PHP', 'better.06', 'Jul', '2017PHP', '7.2.0', 'Alpha', '3', 'ReleasedThe', 'PHP', 'development', 'team', 'announces', 'immediate', 'availability', 'PHP', '7.2.0', 'Alpha', '3.', 'This', 'release', 'contains', 'fixes', 'improvements', 'relative', 'Alpha', '2.', 'All', 'users', 'PHP', 'encouraged', 'test', 'version', 'carefully,', 'report', 'bugs', 'incompatibilities', 'thebug', 'tracking', 'system.THIS', 'IS', 'A', 'DEVELOPMENT', 'PREVIEW', '-', 'DO', 'NOT', 'USE', 'IT', 'IN', 'PRODUCTION!For', 'information', 'new', 'features', 'changes,', 'read', 'theNEWSfile,', 'theUPGRADINGfile', 'complete', 'list', 'upgrading', 'notes.', 'These', 'files', 'also', 'found', 'release', 'archive.For', 'source', 'downloads', 'PHP', '7.2.0', 'Alpha', '3', 'please', 'visit', 'thedownloadpage,', 'Windows', 'sources', 'binaries', 'found', 'onwindows.php.net/qa/.The', 'first', 'beta', 'released', '20th', 'July.', 'You', 'also', 'read', 'full', 'list', 'planned', 'releases', 'ourwiki.Thank', 'helping', 'us', 'make', 'PHP', 'better.Older', 'News', 'EntriesConferences', 'calling', 'papersphp[world]', '2018Upcoming', 'conferencesLaravelConf', 'Taiwan', '2018Mid-Atlantic', 'Developer', 'ConferenceInternational', 'PHP', 'Conference', '2018', '-', 'Fall', 'EditionCoderCruise', '2018', '-', 'The', 'Bahamas!User', 'Group', 'EventsSpecial', 'ThanksSocial', 'media@official_phpCopyright', '©', '2001-2018', 'The', 'PHP', 'GroupMy', 'PHP.netContactOther', 'PHP.net', 'sitesMirror', 'sitesPrivacy', 'policy']\n" ] } ], @@ -624,10 +637,161 @@ }, { "cell_type": "code", - "execution_count": null, + "execution_count": 13, "metadata": {}, - "outputs": [], - "source": [] + "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + "[nltk_data] Downloading package punkt to /home/arunav/nltk_data...\n", + "[nltk_data] Package punkt is already up-to-date!\n", + "['Hello Dr. Adam, how are you?', 'I hope everything is going well.', 'Today is a good day, see you dude.']\n", + "['Hello', 'Dr.', 'Adam', ',', 'how', 'are', 'you', '?', 'I', 'hope', 'everything', 'is', 'going', 'well', '.', 'Today', 'is', 'a', 'good', 'day', ',', 'see', 'you', 'dude', '.']\n" + ] + } + ], + "source": [ + "import nltk\n", + "nltk.download('punkt')\n", + "#Tokenizing sentences\n", + "\n", + "from nltk.tokenize import sent_tokenize, word_tokenize\n", + "mytext = \"Hello Dr. Adam, how are you? I hope everything is going well. Today is a good day, see you dude.\"\n", + "\n", + "# Sentence tokenizer on mytext\n", + "print(sent_tokenize(mytext))\n", + "\n", + "# Word tokenizer on mytext\n", + "print(word_tokenize(mytext))" + ] + }, + { + "cell_type": "code", + "execution_count": 17, + "metadata": {}, + "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + "[nltk_data] Downloading package wordnet to /home/arunav/nltk_data...\n", + "[nltk_data] Package wordnet is already up-to-date!\n", + "Working for word PAIN:\n", + "a symptom of some physical hurt or disorder\n", + "['the patient developed severe pain and distension']\n", + "Working for word NLP:\n", + "the branch of information science that deals with natural language information\n", + "*** all definitions of python ***\n", + "large Old World boas\n", + "a soothsaying spirit or a person who is possessed by such a spirit\n", + "(Greek mythology) dragon killed by Apollo at Delphi\n" + ] + } + ], + "source": [ + "# we can get definition from Wordnet\n", + "# for that we have to import wordnet\n", + "nltk.download('wordnet')\n", + "\n", + "from nltk.corpus import wordnet\n", + "\n", + "# Start using wordnet for a particular word\n", + "\n", + "# 1st word is \"pain\"\n", + "syn = wordnet.synsets(\"pain\")\n", + "print(\"Working for word PAIN:\")\n", + "print(syn[0].definition())\n", + "print(syn[0].examples())\n", + "\n", + "#2nd word is \"NLP\"\n", + "print(\"Working for word NLP:\")\n", + "syn = wordnet.synsets(\"NLP\")\n", + "print(syn[0].definition())\n", + "\n", + "#3rd word is \"Python\"\n", + "syn = wordnet.synsets(\"Python\")\n", + "print(\"*** all definitions of python ***\")\n", + "for items in syn:\n", + " print(items.definition())" + ] + }, + { + "cell_type": "code", + "execution_count": 18, + "metadata": {}, + "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + "['computer', 'computing_machine', 'computing_device', 'data_processor', 'electronic_computer', 'information_processing_system', 'calculator', 'reckoner', 'figurer', 'estimator', 'computer']\n" + ] + } + ], + "source": [ + "# Get synonyms of words\n", + "from nltk.corpus import wordnet\n", + "synonyms = []\n", + "for syn in wordnet.synsets('Computer'):\n", + " for lemma in syn.lemmas():\n", + " synonyms.append(lemma.name())\n", + "print(synonyms)" + ] + }, + { + "cell_type": "code", + "execution_count": 30, + "metadata": {}, + "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + "stone\n", + "speak\n", + "bedroom\n", + "joke\n", + "lisa\n", + "purpl\n", + "univers\n", + "univers\n", + "----------------------\n", + "stone\n", + "speaking\n", + "bedroom\n", + "joke\n", + "lisa\n", + "domicile\n", + "university\n" + ] + } + ], + "source": [ + "# Stemming and Lemmatization\n", + "\n", + "from nltk.stem import WordNetLemmatizer\n", + "from nltk.stem import PorterStemmer\n", + "stemmer = PorterStemmer()\n", + "lemmatizer = WordNetLemmatizer()\n", + "\n", + "print(stemmer.stem('stones'))\n", + "print(stemmer.stem('speaking'))\n", + "print(stemmer.stem('bedroom'))\n", + "print(stemmer.stem('jokes'))\n", + "print(stemmer.stem('lisa'))\n", + "print(stemmer.stem('purple'))\n", + "print(stemmer.stem('university'))\n", + "print(stemmer.stem('universe'))\n", + "print('----------------------')\n", + "print(lemmatizer.lemmatize('stones'))\n", + "print(lemmatizer.lemmatize('speaking'))\n", + "print(lemmatizer.lemmatize('bedroom'))\n", + "print(lemmatizer.lemmatize('jokes'))\n", + "print(lemmatizer.lemmatize('lisa'))\n", + "print(lemmatizer.lemmatize('domicile'))\n", + "print(lemmatizer.lemmatize('university'))" + ] }, { "cell_type": "code",