Giter Club home page Giter Club logo

suntranslator's Introduction

Hi there ๐Ÿ‘‹

  • ๐ŸŒฑ Iโ€™m currently learning C
  • ๐Ÿ”ญ Iโ€™m currently working on my cbpro project
  • ๐Ÿ“ซ How to reach me: [email protected]

Metrics

cjhead's GitHub stats

Top Langs


Achievements

suntranslator's People

Contributors

cjhead avatar

Watchers

 avatar

suntranslator's Issues

Remove stopwords

Stop words need to be removed from the input text. These are words that don't usually add any significant value to a sentence, i.e. 'and', 'is', 'it', etc.

However, some of these common stop words are in the Sun symbol dictionary so the list of stop words should cross reference that first before being removed from the input text.

Clean input text

Input text needs to be cleaned. This includes, but is not limited to, the following:

  • Punctuation
  • Contractions
  • Multiple line feeds
    • i.e. '\n\n'

Limit input sentences to seven words

One of the requirements for the Sun language is for sentences to have seven or less symbols. Many English sentences have many more words so the approach to reducing the overall word count per sentence should be approached with extreme caution.

This should be the result of cleaning the input text.

Tag parts of speech

Parts of speech are going to need to be tagged i.e. nouns, verbs, adjectives, etc. This should help us in many ways, one of which being to achieve the seven word limit for sentences by eliminating words of little value to the concept of the sentence.

Incorporate hypernyms

Some words that aren't in the Sun symbol dictionary have a more generalized word that is. For example, 'apple' is not in the Sun dictionary but 'fruit' is. Therefore, while processing the input text, we need to find these hypernyms, if available, and reference them to the Sun dictionary.

Lemmatize text

The input text needs to be lemmatized, i.e. 'running' -> 'run'. Careful consideration needs to be applied here because some words still won't be converted successfully. During my initial testing, words of length four or less seemed to have the greatest inaccuracy. For example, using the NLTK package, 'us' gets lemmatized to 'u'.

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.