This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| tech [2020/01/13 20:36] 71.174.33.216 | tech [2021/12/05 14:55] (current) scotty | ||
|---|---|---|---|
| Line 4: | Line 4: | ||
| </WRAP> | </WRAP> | ||
| <WRAP column 32%> | <WRAP column 32%> | ||
| - | **[[http://db.polynyms.com|→ NYMOLOGY SITE →]]**\\ | + | **[[http://nymology.org|→ NYMOLOGY SITE →]]**\\ | 
| * **[[nymology|Nymology FAQ]]** | * **[[nymology|Nymology FAQ]]** | ||
| * **[[guide|Activities Guide]]** | * **[[guide|Activities Guide]]** | ||
| Line 12: | Line 12: | ||
| </WRAP> | </WRAP> | ||
| ---- | ---- | ||
| - | <WRAP column 50%><WRAP round info>**Nymology** proudly runs on **Python3**, **Django2** and **PostgreSQL**.</WRAP> | + | <WRAP column 50%><WRAP round info>**Nymology** runs on **Python**, **Django** and **PostgreSQL**. The complete open source code base behind the site can be found on [[https://github.com/verkoder/nym|GitHub]]</WRAP> | 
| </WRAP> | </WRAP> | ||
| <WRAP column 40%> | <WRAP column 40%> | ||
| Many thanks to the authors of these tools:\\ | Many thanks to the authors of these tools:\\ | ||
| - | * [[https://conceptnet.io/|ConceptNet]] - semantic network API\\ | + | * **[[https://conceptnet.io/|ConceptNet]]** - semantic network\\ | 
| - | * [[https://spacy.io/|spaCy]] - NLP tools\\ | + | * **[[https://spacy.io/|spaCy]]** - NLP tools\\ | 
| - | * [[https://pypi.org/project/pyinflect/|pyinflect]] - NLP inflection\\ | + | * **[[https://pypi.org/project/pyinflect/|pyinflect]]** - NLP inflection\\ | 
| - | * [[https://www.highcharts.com|HighCharts]] - chart plotting\\ | + | * **[[https://www.highcharts.com|HighCharts]]** - chart plotting\\ | 
| - | * [[https://www.mathjax.org/|MathJax]] - pretty math graphics\\ | + | * **[[https://www.mathjax.org/|MathJax]]** - pretty math graphics\\ | 
| - | * Django apps: tables2, vote | + | * **[[https://www.quotes.net|Quotes.net]]** - queryable resource | 
| + | * Django apps: tables2, vote, rest_framework | ||
| </WRAP> | </WRAP> | ||
| <WRAP column 40%> | <WRAP column 40%> | ||
| **Database Tables and Fields**\\ | **Database Tables and Fields**\\ | ||
| - | The **[[http://db.polynyms.com|Nymology]]** database **Nymbase** contains the following tables and fields. All fields are text strings except foreign keys, count fields (integer) and //z// (float). | + | The **[[http://nymology.org|Nymology]]** database **Nymbase** follows the schema here.\\ The **[[http://nymology.org/api/|Nymology API]]** provides access to all data, except user info. | 
| </WRAP> | </WRAP> | ||
| <WRAP column 50%> | <WRAP column 50%> | ||
| - | <WRAP round tip>**Common Tables** share a set of **Common Fields** and only list their extra fields. **Special Tables** only have the fields listed.</WRAP> | + | <WRAP round tip>**Common Tables** contain **Common Fields** in addition to those listed.\\ **Special Tables** contain only listed fields.</WRAP> | 
| </WRAP> | </WRAP> | ||
| ===== Common Tables ===== | ===== Common Tables ===== | ||
| Line 40: | Line 41: | ||
| user = entry author (foreign key)\\ | user = entry author (foreign key)\\ | ||
| src = original source\\ | src = original source\\ | ||
| - | url = info link\\ | + | wiki = wikipedia link\\ | 
| area = field of study\\ | area = field of study\\ | ||
| - | z = generality (0.0-1.0)\\ | ||
| **TERMS** | **TERMS** | ||
| ^ ^ Quad ^ Poly ^ | ^ ^ Quad ^ Poly ^ | ||
| | length | Q count | P count | | | length | Q count | P count | | ||
| - | | width |substitution count | element count | | + | | width |substitution count | dimension count | | 
| | depth | | max depth | | | depth | | max depth | | ||
| </WRAP> | </WRAP> | ||
| Line 83: | Line 83: | ||
| <WRAP column 30%> | <WRAP column 30%> | ||
| **[[Nymology#templates|Story]]:**\\ | **[[Nymology#templates|Story]]:**\\ | ||
| - | **phrases = names (CSV)** FIXME \\ | ||
| - | **quadranyms = names (CSV)** FIXME \\ | ||
| length = pair count\\ | length = pair count\\ | ||
| realm = domains\\ | realm = domains\\ | ||
| Line 96: | Line 94: | ||
| **[[nymology#templates|Tale]]:**\\ | **[[nymology#templates|Tale]]:**\\ | ||
| fable = fable (foreign key)\\ | fable = fable (foreign key)\\ | ||
| - | **quadranyms = names (CSV)** FIXME \\ | ||
| length = quadranym count \\ | length = quadranym count \\ | ||
| Line 107: | Line 104: | ||
| pa = polynym A (foreign key)\\ | pa = polynym A (foreign key)\\ | ||
| pb = polynym B (foreign key)\\ | pb = polynym B (foreign key)\\ | ||
| - | r1 - r12 = element-to-element relationship \\ | + | r1 - r12 = dimensional relationship \\ | 
| **[[Nymology#polynym|Vectornym]]:**\\ | **[[Nymology#polynym|Vectornym]]:**\\ | ||
| length = polynym count\\ | length = polynym count\\ | ||
| - | width = element count\\ | + | width = dimension count\\ | 
| depth = max polynym width \\ | depth = max polynym width \\ | ||
| realm = domains\\ | realm = domains\\ | ||
| Line 120: | Line 117: | ||
| length = polynym count\\ | length = polynym count\\ | ||
| depth = max polynym depth\\ | depth = max polynym depth\\ | ||
| - | width = element count\\ | + | width = dimension count\\ | 
| **[[Nymology#polymap|Quadraset]]**\\ | **[[Nymology#polymap|Quadraset]]**\\ | ||
| Line 132: | Line 129: | ||
| body = original text\\ | body = original text\\ | ||
| qode = enqoded text\\ | qode = enqoded text\\ | ||
| - | q1 = Q matches 1 sub\\ | + | q1 = enqoding quadranyms (foreign keys)\\ | 
| - | q2 = Q matches 2+ subs\\ | + | q2 = enqoding 2+ quadranyms (foreign keys)\\ | 
| subs = NEROS-string\\ | subs = NEROS-string\\ | ||
| depth = substitution count\\ | depth = substitution count\\ | ||
| </WRAP> | </WRAP> | ||
| <WRAP column 30%> | <WRAP column 30%> | ||
| + | **Quote:**\\ | ||
| + | body = original text\\ | ||
| + | qode = enqoded text\\ | ||
| + | quadranym = enqoding topic (foreign key)\\ | ||
| + | src = original source\\ | ||
| + | subs = NEROS-string\\ | ||
| + | width = substitution count\\ | ||
| + | |||
| **Winner:**\\ | **Winner:**\\ | ||
| user = player (foreign key)\\ | user = player (foreign key)\\ | ||
| Line 147: | Line 152: | ||
| **Vote**\\ | **Vote**\\ | ||
| user_id = voter (foreign key)\\ | user_id = voter (foreign key)\\ | ||
| + | |||
| + | **Queue**\\ | ||
| + | name = potential quadranym\\ | ||
| </WRAP> | </WRAP> | ||