Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
amytimed committed Sep 1, 2023
0 parents commit 5c64c17
Show file tree
Hide file tree
Showing 15 changed files with 923 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*
lerna-debug.log*

node_modules
dist
dist-ssr
*.local

# Editor directories and files
.vscode/*
!.vscode/extensions.json
.idea
.DS_Store
*.suo
*.ntvs*
*.njsproj
*.sln
*.sw?
Binary file added bun.lockb
Binary file not shown.
164 changes: 164 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,164 @@
<!doctype html>
<html lang="en">

<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/icon.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Engli</title>
</head>

<body>
<div class="header">
<h1>Engli Translator</h1>
<p>One-way English to Engli translator.</p>
</div>
<div class="translation">
<!-- this is a translator from english to engli -->
<textarea id="input" placeholder="Type English here"></textarea>
<!-- readonly because its one way translation -->
<textarea id="output" readonly placeholder="Engli will appear here"></textarea>
</div>
<!-- confidence level box -->
<div id="confidence"></div>
<div class="details-container">
<div class="details">
<h2>What is this?</h2>
<p>Engli is a community fork of English with these benefits (among others):</p>
<ul>
<li>💥 <strong>0 collisions</strong> &mdash; no words will sound identical, and English words with multiple
meanings
that differ too much will be split into multiple words</li>
<li>🧱 <strong>Phonetically rigid</strong> &mdash; each letter only has one sound, and the letters surrounding
it have
no impact on that</li>
<li>🤔 <strong>0 ambiguity</strong> &mdash; there is only one way to spell any word, and only one way to
pronounce it
</li>
<li>👥 <strong>Community-driven</strong> &mdash; syntax and words are decided by community vote</li>
<li>❄️ <strong>0 inconsistency</strong> &mdash; prefixes and suffixes will stay separate from a word, like
&quot;multi-player&quot; instead of &quot;multiplayer&quot;</li>
<li>🌐 <strong>International</strong> &mdash; no more divide between &quot;center&quot; and &quot;centre&quot;,
&quot;sentr&quot; is used instead</li>
<li><strong>Faster to type in</strong> &mdash; most words are shorter, which allows you to type faster</li>
</ul>
<p>It builds upon English, with all its idioms and expressions, but makes changes that improve upon many flaws of
the
language and aim to make it easier to use, faster to type/speak in, and easier to learn.</p>

</div>
<table border="1">
<tr>
<th>Engli Letter</th>
<th>English Sound</th>
</tr>
<tr>
<td>a</td>
<td>aa</td>
</tr>
<tr>
<td>b</td>
<td>b</td>
</tr>
<tr>
<td>c</td>
<td>ch</td>
</tr>
<tr>
<td>d</td>
<td>d</td>
</tr>
<tr>
<td>e</td>
<td>eh</td>
</tr>
<tr>
<td>f</td>
<td>f</td>
</tr>
<tr>
<td>g</td>
<td>g (not j)</td>
</tr>
<tr>
<td>h</td>
<td>h (exhale)</td>
</tr>
<tr>
<td>i</td>
<td>i</td>
</tr>
<tr>
<td>j</td>
<td>j</td>
</tr>
<tr>
<td>k</td>
<td>k</td>
</tr>
<tr>
<td>l</td>
<td>l</td>
</tr>
<tr>
<td>m</td>
<td>m</td>
</tr>
<tr>
<td>n</td>
<td>n</td>
</tr>
<tr>
<td>o</td>
<td>ah</td>
</tr>
<tr>
<td>p</td>
<td>p</td>
</tr>
<tr>
<td>q</td>
<td>ng</td>
</tr>
<tr>
<td>r</td>
<td>r</td>
</tr>
<tr>
<td>s</td>
<td>s</td>
</tr>
<tr>
<td>t</td>
<td>t</td>
</tr>
<tr>
<td>u</td>
<td>uh</td>
</tr>
<tr>
<td>v</td>
<td>v</td>
</tr>
<tr>
<td>w</td>
<td>oo</td>
</tr>
<tr>
<td>x</td>
<td>sh</td>
</tr>
<tr>
<td>y</td>
<td>ee</td>
</tr>
<tr>
<td>z</td>
<td>z</td>
</tr>
</table>
</div>
<script type="module" src="/src/main.ts"></script>
</body>

</html>
19 changes: 19 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"name": "engli-web",
"private": true,
"version": "0.0.0",
"type": "module",
"scripts": {
"dev": "vite",
"build": "tsc && vite build",
"preview": "vite preview",
"deploy": "gh-pages -d dist"
},
"devDependencies": {
"typescript": "^5.0.2",
"vite": "^4.4.5"
},
"dependencies": {
"gh-pages": "^6.0.0"
}
}
160 changes: 160 additions & 0 deletions public/icon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 5 additions & 0 deletions src/engli/EngliTranslation.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
export default interface EngliTranslation {
engli: string;
/** 0 if it's entirely unknown words, 1 if it's entirely known words */
confidence: number;
}
Loading

0 comments on commit 5c64c17

Please sign in to comment.