Code Monkey home page Code Monkey logo

our-stopwords's Introduction

Our Stopwords

  • Auto-generated stopwords for South African Languages

Introduction

Usage

  • The data is provided in JSON Lines format. Here is an example of using the stopwords in Python:

Python Example

import json

# Load the stop words from the JSON lines file
stop_words = []
with open('za_stopwords.main.jsonl', 'r', encoding='utf-8') as file:
    for line in file:
        stop_words.append(json.loads(line.strip()))

# Example: Print stop words in Zulu
for word in stop_words:
    print(f"English: {word['eng']}, Zulu: {word['zul']}")

Refer to training_example.py for a full working example on how you can use these stopwords in your model training scripts

Supported Languages

  • ven - Tshivenda
  • tso - Xitsonga
  • sot - Southern Sotho
  • nso - Northen Sotho
  • tsn - Setswana
  • zul - IsiZulu
  • xho - IsiXhosa
  • ...
  • Coming soon:
    • nbl
    • ssw

Contributions

  • Feel free to create a pull request if you have a suggestion

License

  • This work is published under the CC BY-NC 4.0 license

Citation

@misc{multilingual_stop_words,
    author = {Ndamulelo Nemakhavhani},
    title = {Autogenerated Stop Words for South African Bantu Languages},
    year = {2024},
    publisher = {GitHub},
    journal = {GitHub repository},
    howpublished = {\url{https://github.com/ndamulelonemakh/our-stopwords}}
}

Contact

  • If you have any questions or suggestions, please feel free to open an issue or contact us.

our-stopwords's People

Contributors

ndamulelonemakh avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.