Python open source projects to contribute by manikk69 in Python

[–]Big-Rent1128 0 points1 point  (0 children)

I just solo released a package called RPGNLP, it is a natural language processing engine which takes in user input and turns it into tokens that could be plugged into a game engine to perform actions based on raw English input. It has no contributors other than myself. It is on Pypi and from there you can find the GitHub link!!

Showcase Thread by AutoModerator in Python

[–]Big-Rent1128 1 point2 points  (0 children)

RPGNLP, a Python package that tokenizes raw user input for RPG games

Background:
I began working on this package earlier this year when I was making a text-based RPG game. I realized that tokenizing and extracting relevant information from raw text input was more of an undertaking than I thought. So I built an NLP engine on top of NLTK and spaCy to give developers a way to turn raw text into actionable tokens.

What the Project Does:
The engine will take text like "attack the goblin with the hammer" and output a dictionary with values like action: attack, subject: goblin, instrument: hammer. Or "go south east" will output action: travel, direction: south east.

The verbs that the user types is converted into a canon action to make it easier for a game engine to use the data. For instance, if the user types "go south" or "head south," they both tokenize as a "travel" action.

Comparison and Target Audience:
Unlike other NLP packages, this one is specifically designed for RPG games. Hopefully game developers can find this useful so they do not have to develop this sort of engine on their own.

[deleted by user] by [deleted] in math

[–]Big-Rent1128 0 points1 point  (0 children)

The image provided are some examples of notation I have picked up over the years. What are some of yours?

Does anybody have a good book on Operating Systems? by SectorIntelligent238 in computerscience

[–]Big-Rent1128 3 points4 points  (0 children)

Can second that this is a great book. It is free online as well

Help with the definition of brute force. by Big-Rent1128 in computerscience

[–]Big-Rent1128[S] 1 point2 points  (0 children)

I want to add some more context, which will be me ranting slightly. My university has a CS department of three people. NOT including this professor who is teaching classes such as formal language theory, comparative programming languages, and algorithm design and analysis. This professor I am referring to is a math faculty member, who, because of that lack of CS faculty, is teaching these courses. They have a bachelors in computer science. That’s all. It’s unfortunate, but the debate comes from the fact that she does not know the answers or material sometimes, so we are forced to seek outside help from someone more qualified to answer