Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Request] Sentence generator (with tests) #1347

Open
hmlendea opened this issue Apr 11, 2024 · 0 comments
Open

[Request] Sentence generator (with tests) #1347

hmlendea opened this issue Apr 11, 2024 · 0 comments

Comments

@hmlendea
Copy link

hmlendea commented Apr 11, 2024

Hi there!

I hope you're doing well. I've been using Polyglot quite extensively lately (and I'm still discovering and figuring out everything it has to offer), and I've found it to be an incredibly helpful tool for language construction. However, I've noticed a feature gap that I believe could significantly enhance its functionality: a Sentence Generator with Testing Capability.

Here's a brief overview of what I have in mind:


Feature Proposal

Introducing a new section within Polyglot where users can generate sentences based on existing lexicon items and parts of speech. For instance, users could input combinations such as "[proper noun for Ana] [verb for 'to have', 3rd person present] [noun for apple, plural]", which would result in a sentence like "Ana has apples." This would greatly streamline the process of creating and testing sentences within the application.
Additional Functionality:

Note: The example I provided is just to show my point, it's not a "syntax" proposal. The actual sentence structure definition should be done through the UI, e.g. by selecting items in drop-down boxes.

To take it a step further, we could incorporate testing capabilities for these generated sentences. Users could define an expected result for each saved sentence. If the generated result differs from the expected outcome, the test would be flagged as failed. These failed tests would be visible in the "Check Language" section, allowing users to identify and rectify any discrepancies promptly. This would not only help in detecting existing bugs but also serve as a proactive measure against potential issues in the future.

Benefits

  • Streamlines the process of generating sentences based on predefined lexicon items.
  • Enhances user experience by providing a comprehensive testing framework for generated sentences.
  • Facilitates bug detection and prevention, ensuring the overall robustness of the application.

I believe this feature addition would greatly improve the functionality and usability of Polyglot, making it an even more indispensable tool for language construction enthusiasts like myself. I'm excited about the potential it holds and would love to see it integrated into future releases of the application.

Looking forward to hearing your thoughts on this proposal!

@hmlendea hmlendea changed the title [Request] Tests / Sentence generation [Request] Sentence generator (with tests) Apr 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant