punctuationstripper


Namepunctuationstripper JSON
Version 0.0.1 PyPI version JSON
download
home_pagehttps://github.com/TheDataDave/punctuationstripper
SummaryA package to strip punctuation from text via a file or a basic string.
upload_time2024-04-10 03:18:45
maintainerNone
docs_urlNone
authorDavid Flanders
requires_pythonNone
licenseNone
keywords python punctuation text cleaning data cleaning nlp string manipulation
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # PunctuationStripper

PunctuationStripper is a Python package that can be used to strip punctuation from a file. It is easy to use and can be installed via pip: 

pip install punctuationstripper

Once installed, you can use the `punctuationstripper` command to strip punctuation from a file. The basic syntax is:

punctuationstripper -f [-n ] [-p ]

where:

* `<filename>` is the name of the file that you want to strip of punctuation.
* `<newfilename>` is the name of the new file that you want to save the stripped text to. If you do not specify a new filename, the program will save the stripped text to a new file named `<filename>_new.txt`.
* `<punct>` is a string of characters that you do not want to strip from the text. For example, if you want to keep all periods and commas in the text, you would specify `punct=".,"`.

For example, to strip all punctuation from the file `my_file.txt` and save the stripped text to a new file named `my_file_new.txt`, you would use the following command:

punctuationstripper -f my_file.txt -n my_file_new.txt


You can also use the `-p` option to specify a string of characters that you do not want to strip from the text. For example, to strip all punctuation from the file `my_file.txt` (and save it as `my_file_new.txt) except for periods and commas, you would use the following command:

punctuationstripper -f my_file.txt -p ".,"

PunctuationStripper is a powerful tool that can be used to clean up text data. It is easy to use and can be customized to meet your specific needs.

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/TheDataDave/punctuationstripper",
    "name": "punctuationstripper",
    "maintainer": null,
    "docs_url": null,
    "requires_python": null,
    "maintainer_email": null,
    "keywords": "python, punctuation, text cleaning, data cleaning, NLP, string manipulation",
    "author": "David Flanders",
    "author_email": "thedatadave@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/96/3f/a30115d6c1c608c724e763776cd024a147df3053949547bbdad26c39d1ec/punctuationstripper-0.0.1.tar.gz",
    "platform": null,
    "description": "# PunctuationStripper\r\n\r\nPunctuationStripper is a Python package that can be used to strip punctuation from a file. It is easy to use and can be installed via pip: \r\n\r\npip install punctuationstripper\r\n\r\nOnce installed, you can use the `punctuationstripper` command to strip punctuation from a file. The basic syntax is:\r\n\r\npunctuationstripper -f [-n ] [-p ]\r\n\r\nwhere:\r\n\r\n* `<filename>` is the name of the file that you want to strip of punctuation.\r\n* `<newfilename>` is the name of the new file that you want to save the stripped text to. If you do not specify a new filename, the program will save the stripped text to a new file named `<filename>_new.txt`.\r\n* `<punct>` is a string of characters that you do not want to strip from the text. For example, if you want to keep all periods and commas in the text, you would specify `punct=\".,\"`.\r\n\r\nFor example, to strip all punctuation from the file `my_file.txt` and save the stripped text to a new file named `my_file_new.txt`, you would use the following command:\r\n\r\npunctuationstripper -f my_file.txt -n my_file_new.txt\r\n\r\n\r\nYou can also use the `-p` option to specify a string of characters that you do not want to strip from the text. For example, to strip all punctuation from the file `my_file.txt` (and save it as `my_file_new.txt) except for periods and commas, you would use the following command:\r\n\r\npunctuationstripper -f my_file.txt -p \".,\"\r\n\r\nPunctuationStripper is a powerful tool that can be used to clean up text data. It is easy to use and can be customized to meet your specific needs.\r\n",
    "bugtrack_url": null,
    "license": null,
    "summary": "A package to strip punctuation from text via a file or a basic string.",
    "version": "0.0.1",
    "project_urls": {
        "Homepage": "https://github.com/TheDataDave/punctuationstripper"
    },
    "split_keywords": [
        "python",
        " punctuation",
        " text cleaning",
        " data cleaning",
        " nlp",
        " string manipulation"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "d98f6d0f6422493a54ccde94bf235d7e7e5632e75ec4f070d6fa965702940557",
                "md5": "3449f9f4fddaafe7f8074517baa2bd80",
                "sha256": "93886fff0ace9647b6e6764367e05da9c93dc6f890f7b5c0240deb5de035fd08"
            },
            "downloads": -1,
            "filename": "punctuationstripper-0.0.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "3449f9f4fddaafe7f8074517baa2bd80",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 4366,
            "upload_time": "2024-04-10T03:18:44",
            "upload_time_iso_8601": "2024-04-10T03:18:44.697526Z",
            "url": "https://files.pythonhosted.org/packages/d9/8f/6d0f6422493a54ccde94bf235d7e7e5632e75ec4f070d6fa965702940557/punctuationstripper-0.0.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "963fa30115d6c1c608c724e763776cd024a147df3053949547bbdad26c39d1ec",
                "md5": "dd275c34a49a6e565ae1fe112a90f636",
                "sha256": "22c27d5735a48a34a57dbd9afccf6133a74608efcf3824146a74de544101bd31"
            },
            "downloads": -1,
            "filename": "punctuationstripper-0.0.1.tar.gz",
            "has_sig": false,
            "md5_digest": "dd275c34a49a6e565ae1fe112a90f636",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 3726,
            "upload_time": "2024-04-10T03:18:45",
            "upload_time_iso_8601": "2024-04-10T03:18:45.883947Z",
            "url": "https://files.pythonhosted.org/packages/96/3f/a30115d6c1c608c724e763776cd024a147df3053949547bbdad26c39d1ec/punctuationstripper-0.0.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-04-10 03:18:45",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "TheDataDave",
    "github_project": "punctuationstripper",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "punctuationstripper"
}
        
Elapsed time: 0.21047s