Skip to content

Commit

Permalink
first commit
Browse files Browse the repository at this point in the history
  • Loading branch information
xavier-gz committed Aug 1, 2021
0 parents commit a377b20
Show file tree
Hide file tree
Showing 148 changed files with 4,413 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
*.iml
/.gradle
/.idea
/app/build
/captures
local.properties
674 changes: 674 additions & 0 deletions LICENSE

Large diffs are not rendered by default.

11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
**Galnet Dictionary**

*Multilingual dictionary with translations and synonyms for 10 languages: Galician, Portuguese, Catalan, Basque, Spanish, English, German, Latin, Italian and Chinese. More than 750.000 words at your fingertips!*

The Galnet Dictionary is a Wordnet-based multilingual dictionary with translations and synonyms for 10 languages: Galician, Portuguese, Catalan, Basque, Spanish, English, German, Latin, Italian and Chinese (both Traditional and Simplified Chinese).

This multilingual dictionary contains the Galnet lexical database (http://sli.uvigo.gal/galnet/) which is being developed by the Computational Linguistics Group at the University of Vigo (http://sli.uvigo.gal) and is available from 2011.

The goal of the Galnet development is integrating the Galician language into the interlingual lexical-semantic network of WordNet (https://wordnet.princeton.edu), according the EuroWordNet model. Galnet is part of the Multilingual Central Repository (http://adimen.si.ehu.es/web/MCR) and the Open Multilingual Wordnet (http://compling.hss.ntu.edu.sg/iliomw/omw). Galnet contents can be searched with several web applications and can also be downloaded in RDF and LMF formats with a free license (http://sli.uvigo.gal/download/SLI_Galnet/).

Information and contact: Xavier Gómez Guinovart (xgg2021@gmail.com)
1 change: 1 addition & 0 deletions app/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/build
45 changes: 45 additions & 0 deletions app/build.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
apply plugin: 'com.android.application'

android {
compileSdkVersion 30
defaultConfig {
applicationId 'gal.sli.digalnet'
minSdkVersion 16
targetSdkVersion 30
versionCode 12
versionName "2.2"
testInstrumentationRunner 'androidx.test.runner.AndroidJUnitRunner'
android.defaultConfig.vectorDrawables.useSupportLibrary = true
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
}
productFlavors {
}
compileOptions {
sourceCompatibility = '1.7'
targetCompatibility = '1.7'
}
}

dependencies {
implementation fileTree(include: ['*.jar'], dir: 'libs')
implementation 'androidx.appcompat:appcompat:1.3.1'
implementation 'androidx.constraintlayout:constraintlayout:2.0.4'
implementation 'androidx.legacy:legacy-support-v4:1.0.0'
implementation 'androidx.recyclerview:recyclerview:1.2.1'
testImplementation 'junit:junit:4.13-beta-3'
androidTestImplementation 'androidx.test.ext:junit:1.1.3'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0'

}

/*
allprojects {
tasks.withType(JavaCompile) {
options.compilerArgs << "-Xlint:unchecked" << "-Xlint:deprecation"
}
}*/
21 changes: 21 additions & 0 deletions app/proguard-rules.pro
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# Add project specific ProGuard rules here.
# You can control the set of applied configuration files using the
# proguardFiles setting in build.gradle.
#
# For more details, see
# http://developer.android.com/guide/developing/tools/proguard.html

# If your project uses WebView with JS, uncomment the following
# and specify the fully qualified class name to the JavaScript interface
# class:
#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
# public *;
#}

# Uncomment this to preserve the line number information for
# debugging stack traces.
#-keepattributes SourceFile,LineNumberTable

# If you keep the line number information, uncomment this to
# hide the original source file name.
#-renamesourcefileattribute SourceFile
Binary file added app/release/app-release.apk
Binary file not shown.
18 changes: 18 additions & 0 deletions app/release/output-metadata.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"version": 2,
"artifactType": {
"type": "APK",
"kind": "Directory"
},
"applicationId": "gal.sli.digalnet",
"variantName": "release",
"elements": [
{
"type": "SINGLE",
"filters": [],
"versionCode": 12,
"versionName": "2.2",
"outputFile": "app-release.apk"
}
]
}
36 changes: 36 additions & 0 deletions app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
package="gal.sli.digalnet">
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<application
android:usesCleartextTraffic="true"
android:allowBackup="false"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:roundIcon="@mipmap/ic_launcher_round"
android:supportsRtl="true"
android:theme="@style/Theme.AppCompat.Light.NoActionBar"
tools:ignore="GoogleAppIndexingWarning">
<activity android:name=".DisplayMessageActivity"
android:parentActivityName=".MainActivity">
<!-- The meta-data tag is required if you support API level 15 and lower -->
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value=".MainActivity" />
</activity>
<activity android:name=".MainActivity">
<intent-filter>
<action android:name="android.intent.action.MAIN" />

<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>


</application>



</manifest>
110 changes: 110 additions & 0 deletions app/src/main/assets/css/style.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,110 @@
* {
-webkit-box-sizing: border-box;
box-sizing: border-box;
}

body {
padding: 0;
margin: 0;
}

#notfound {
position: relative;
height: 100vh;
}

#notfound .notfound {
position: absolute;
left: 50%;
top: 50%;
-webkit-transform: translate(-50%, -50%);
-ms-transform: translate(-50%, -50%);
transform: translate(-50%, -50%);
}

.notfound {
max-width: 520px;
width: 100%;
line-height: 1.4;
text-align: center;
}

.notfound .notfound-404 {
position: relative;
height: 200px;
margin: 0px auto 20px;
z-index: -1;
}

.notfound .notfound-404 h1 {
font-family: 'Montserrat', sans-serif;
font-size: 236px;
font-weight: 200;
margin: 0px;
color: #211b19;
text-transform: uppercase;
position: absolute;
left: 50%;
top: 50%;
-webkit-transform: translate(-50%, -50%);
-ms-transform: translate(-50%, -50%);
transform: translate(-50%, -50%);
}

.notfound .notfound-404 h2 {
font-family: 'Montserrat', sans-serif;
font-size: 28px;
font-weight: 400;
text-transform: uppercase;
color: #211b19;
background: #fff;
padding: 10px 5px;
margin: auto;
display: inline-block;
position: absolute;
bottom: 0px;
left: 0;
right: 0;
}

.notfound a {
font-family: 'Montserrat', sans-serif;
display: inline-block;
font-weight: 700;
text-decoration: none;
color: #fff;
text-transform: uppercase;
padding: 13px 23px;
background: #ff6300;
font-size: 18px;
-webkit-transition: 0.2s all;
transition: 0.2s all;
}

.notfound a:hover {
color: #ff6300;
background: #211b19;
}

@media only screen and (max-width: 767px) {
.notfound .notfound-404 h1 {
font-size: 148px;
}
}

@media only screen and (max-width: 480px) {
.notfound .notfound-404 {
height: 148px;
margin: 0px auto 10px;
}
.notfound .notfound-404 h1 {
font-size: 86px;
}
.notfound .notfound-404 h2 {
font-size: 16px;
}
.notfound a {
padding: 7px 15px;
font-size: 14px;
}
}
42 changes: 42 additions & 0 deletions app/src/main/assets/erro.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
<!DOCTYPE html>
<html lang="en">

<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->

<title>Data could not be retrieved</title>

<!-- Google font -->
<link href="https://fonts.googleapis.com/css?family=Montserrat:200,400,700" rel="stylesheet">

<!-- Custom stlylesheet -->
<link type="text/css" rel="stylesheet" href="css/style.css" />

<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]-->

</head>

<body>

<div id="notfound">
<div class="notfound">
<div class="notfound-404">
<h1>Oops!</h1>
<h2>Data could not be retrieved</h2>
</div>
<!--a href="#">Go TO Homepage</a-->
<!--a href="javascript:history.go(-1)">Go TO Homepage</a-->
</div>
</div>

</body><!-- This templates was made by Colorlib (https://colorlib.com) -->

</html>
Binary file added app/src/main/assets/galnet.db
Binary file not shown.
Binary file added app/src/main/ic_launcher-web.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit a377b20

Please sign in to comment.