Merge branch 'knowledgebase' into master
This commit is contained in:
commit
ed73e0a429
@ -1,42 +0,0 @@
|
|||||||
---
|
|
||||||
title: Home
|
|
||||||
body_classes: title-center title-h1h2
|
|
||||||
---
|
|
||||||
|
|
||||||
# Say Hello to Grav!
|
|
||||||
## installation successful...
|
|
||||||
|
|
||||||
Congratulations! You have installed the **Base Grav Package** that provides a **simple page** and the default **Quark** theme to get you started.
|
|
||||||
|
|
||||||
!! If you see a **404 Error** when you click `Typography` in the menu, please refer to the [troubleshooting guide](http://learn.getgrav.org/troubleshooting/page-not-found).
|
|
||||||
|
|
||||||
### Find out all about Grav
|
|
||||||
|
|
||||||
* Learn about **Grav** by checking out our dedicated [Learn Grav](http://learn.getgrav.org) site.
|
|
||||||
* Download **plugins**, **themes**, as well as other Grav **skeleton** packages from the [Grav Downloads](http://getgrav.org/downloads) page.
|
|
||||||
* Check out our [Grav Development Blog](http://getgrav.org/blog) to find out the latest goings on in the Grav-verse.
|
|
||||||
|
|
||||||
!!! If you want a more **full-featured** base install, you should check out [**Skeleton** packages available in the downloads](http://getgrav.org/downloads).
|
|
||||||
|
|
||||||
### Edit this Page
|
|
||||||
|
|
||||||
To edit this page, simply navigate to the folder you installed **Grav** into, and then browse to the `user/pages/01.home` folder and open the `default.md` file in your [editor of choice](http://learn.getgrav.org/basics/requirements). You will see the content of this page in [Markdown format](http://learn.getgrav.org/content/markdown).
|
|
||||||
|
|
||||||
### Create a New Page
|
|
||||||
|
|
||||||
Creating a new page is a simple affair in **Grav**. Simply follow these simple steps:
|
|
||||||
|
|
||||||
1. Navigate to your pages folder: `user/pages/` and create a new folder. In this example, we will use [explicit default ordering](http://learn.getgrav.org/content/content-pages) and call the folder `03.mypage`.
|
|
||||||
2. Launch your text editor and paste in the following sample code:
|
|
||||||
|
|
||||||
---
|
|
||||||
title: My New Page
|
|
||||||
---
|
|
||||||
# My New Page!
|
|
||||||
|
|
||||||
This is the body of **my new page** and I can easily use _Markdown_ syntax here.
|
|
||||||
|
|
||||||
3. Save this file in the `user/pages/03.mypage/` folder as `default.md`. This will tell **Grav** to render the page using the **default** template.
|
|
||||||
4. That is it! Reload your browser to see your new page in the menu.
|
|
||||||
|
|
||||||
! NOTE: The page will automatically show up in the Menu after the "Typography" menu item. If you wish to change the name that shows up in the Menu, simple add: `menu: My Page` between the dashes in the page content. This is called the YAML front matter, and it is where you configure page-specific options.
|
|
3
pages/02.browse/front.md
Normal file
3
pages/02.browse/front.md
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
---
|
||||||
|
title: Obsah
|
||||||
|
---
|
@ -1,155 +0,0 @@
|
|||||||
---
|
|
||||||
title: Typography
|
|
||||||
---
|
|
||||||
|
|
||||||
! Details on the full capabilities of Spectre.css can be found in the [Official Spectre Documentation](https://picturepan2.github.io/spectre/elements.html)
|
|
||||||
|
|
||||||
The [Quark theme](https://github.com/getgrav/grav-theme-quark) is the new default theme for Grav built with [Spectre.css](https://picturepan2.github.io/spectre/) the lightweight, responsive and modern CSS framework. Spectre provides basic styles for typography, elements, and a responsive layout system that utilizes best practices and consistent language design.
|
|
||||||
|
|
||||||
### Headings
|
|
||||||
|
|
||||||
# H1 Heading `40px`
|
|
||||||
|
|
||||||
## H2 Heading `32px`
|
|
||||||
|
|
||||||
### H3 Heading `28px`
|
|
||||||
|
|
||||||
#### H4 Heading `24px`
|
|
||||||
|
|
||||||
##### H5 Heading `20px`
|
|
||||||
|
|
||||||
###### H6 Heading `16px`
|
|
||||||
|
|
||||||
```html
|
|
||||||
# H1 Heading
|
|
||||||
# H1 Heading `40px`</small>`
|
|
||||||
|
|
||||||
<span class="h1">H1 Heading</span>
|
|
||||||
```
|
|
||||||
|
|
||||||
### Paragraphs
|
|
||||||
|
|
||||||
Lorem ipsum dolor sit amet, consectetur [adipiscing elit. Praesent risus leo, dictum in vehicula sit amet](#), feugiat tempus tellus. Duis quis sodales risus. Etiam euismod ornare consequat.
|
|
||||||
|
|
||||||
Climb leg rub face on everything give attitude nap all day for under the bed. Chase mice attack feet but rub face on everything hopped up on goofballs.
|
|
||||||
|
|
||||||
### Markdown Semantic Text Elements
|
|
||||||
|
|
||||||
**Bold** `**Bold**`
|
|
||||||
|
|
||||||
_Italic_ `_Italic_`
|
|
||||||
|
|
||||||
~~Deleted~~ `~~Deleted~~`
|
|
||||||
|
|
||||||
`Inline Code` `` `Inline Code` ``
|
|
||||||
|
|
||||||
### HTML Semantic Text Elements
|
|
||||||
|
|
||||||
<abbr>I18N</abbr> `<abbr>`
|
|
||||||
|
|
||||||
<cite>Citation</cite> `<cite>`
|
|
||||||
|
|
||||||
<kbd>Ctrl + S</kbd> `<kbd>`
|
|
||||||
|
|
||||||
Text<sup>Superscripted</sup> `<sup>`
|
|
||||||
|
|
||||||
Text<sub>Subscripted</sub> `<sub>`
|
|
||||||
|
|
||||||
<u>Underlined</u> `<u>`
|
|
||||||
|
|
||||||
<mark>Highlighted</mark> `<mark>`
|
|
||||||
|
|
||||||
<time>20:14</time> `<time>`
|
|
||||||
|
|
||||||
<var>x = y + 2</var> `<var>`
|
|
||||||
|
|
||||||
### Blockquote
|
|
||||||
|
|
||||||
> The advance of technology is based on making it fit in so that you don't really even notice it,
|
|
||||||
> so it's part of everyday life.
|
|
||||||
>
|
|
||||||
> <cite>- Bill Gates</cite>
|
|
||||||
|
|
||||||
```markdown
|
|
||||||
> The advance of technology is based on making it fit in so that you don't really even notice it,
|
|
||||||
> so it's part of everyday life.
|
|
||||||
>
|
|
||||||
> <cite>- Bill Gates</cite>
|
|
||||||
```
|
|
||||||
|
|
||||||
### Unordered List
|
|
||||||
|
|
||||||
* list item 1
|
|
||||||
* list item 2
|
|
||||||
* list item 2.1
|
|
||||||
* list item 2.2
|
|
||||||
* list item 2.3
|
|
||||||
* list item 3
|
|
||||||
|
|
||||||
```markdown
|
|
||||||
* list item 1
|
|
||||||
* list item 2
|
|
||||||
* list item 2.1
|
|
||||||
* list item 2.2
|
|
||||||
* list item 2.3
|
|
||||||
* list item 3
|
|
||||||
```
|
|
||||||
|
|
||||||
### Ordered List
|
|
||||||
|
|
||||||
1. list item 1
|
|
||||||
1. list item 2
|
|
||||||
1. list item 2.1
|
|
||||||
1. list item 2.2
|
|
||||||
1. list item 2.3
|
|
||||||
1. list item 3
|
|
||||||
|
|
||||||
```markdown
|
|
||||||
1. list item 1
|
|
||||||
1. list item 2
|
|
||||||
1. list item 2.1
|
|
||||||
1. list item 2.2
|
|
||||||
1. list item 2.3
|
|
||||||
1. list item 3
|
|
||||||
```
|
|
||||||
|
|
||||||
### Table
|
|
||||||
|
|
||||||
| Name | Genre | Release date |
|
|
||||||
| :-------------------------- | :---------------------------: | -------------------: |
|
|
||||||
| The Shawshank Redemption | Crime, Drama | 14 October 1994 |
|
|
||||||
| The Godfather | Crime, Drama | 24 March 1972 |
|
|
||||||
| Schindler's List | Biography, Drama, History | 4 February 1994 |
|
|
||||||
| Se7en | Crime, Drama, Mystery | 22 September 1995 |
|
|
||||||
|
|
||||||
```markdown
|
|
||||||
| Name | Genre | Release date |
|
|
||||||
| :-------------------------- | :---------------------------: | -------------------: |
|
|
||||||
| The Shawshank Redemption | Crime, Drama | 14 October 1994 |
|
|
||||||
| The Godfather | Crime, Drama | 24 March 1972 |
|
|
||||||
| Schindler's List | Biography, Drama, History | 4 February 1994 |
|
|
||||||
| Se7en | Crime, Drama, Mystery | 22 September 1995 |
|
|
||||||
```
|
|
||||||
|
|
||||||
### Notices
|
|
||||||
|
|
||||||
The notices styles are actually provided by the `markdown-notices` plugin but are useful enough to include here:
|
|
||||||
|
|
||||||
! This is a warning notification
|
|
||||||
|
|
||||||
!! This is a error notification
|
|
||||||
|
|
||||||
!!! This is a default notification
|
|
||||||
|
|
||||||
!!!! This is a success notification
|
|
||||||
|
|
||||||
```markdown
|
|
||||||
! This is a warning notification
|
|
||||||
|
|
||||||
!! This is a error notification
|
|
||||||
|
|
||||||
!!! This is a default notification
|
|
||||||
|
|
||||||
!!!! This is a success notification
|
|
||||||
```
|
|
||||||
|
|
@ -1,5 +1,6 @@
|
|||||||
---
|
---
|
||||||
title: Bakalárske práce 2018/2019
|
title: Bakalárske práce 2018/2019
|
||||||
|
category: bp2021
|
||||||
published: true
|
published: true
|
||||||
---
|
---
|
||||||
|
|
@ -1,5 +1,6 @@
|
|||||||
---
|
---
|
||||||
title: Bakalárska práca 2020
|
title: Bakalárska práca 2020
|
||||||
|
category: bp2020
|
||||||
published: true
|
published: true
|
||||||
---
|
---
|
||||||
|
|
21
pages/04.categories/default.md
Normal file
21
pages/04.categories/default.md
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
---
|
||||||
|
title: Kategórie
|
||||||
|
redirect: 'taxonomy?name=category'
|
||||||
|
|
||||||
|
content:
|
||||||
|
items: @self.children
|
||||||
|
|
||||||
|
cache_enable: false
|
||||||
|
twig_first: true
|
||||||
|
process:
|
||||||
|
markdown: false
|
||||||
|
twig: true
|
||||||
|
---
|
||||||
|
|
||||||
|
<h1>Kategórie</h1>
|
||||||
|
<ul>
|
||||||
|
{% for p in page.collection %}
|
||||||
|
<li><a href="{{ p.url }}">{{ p.title }}</a></li>
|
||||||
|
{% endfor %}
|
||||||
|
</ul>
|
||||||
|
|
21
pages/05.tags/default.md
Normal file
21
pages/05.tags/default.md
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
---
|
||||||
|
title: Tagy
|
||||||
|
redirect: 'taxonomy?name=tag'
|
||||||
|
|
||||||
|
content:
|
||||||
|
items: @self.children
|
||||||
|
|
||||||
|
cache_enable: false
|
||||||
|
twig_first: true
|
||||||
|
process:
|
||||||
|
markdown: false
|
||||||
|
twig: true
|
||||||
|
---
|
||||||
|
|
||||||
|
<h1>Tagy</h1>
|
||||||
|
<ul>
|
||||||
|
{% for p in page.collection %}
|
||||||
|
<li><a href="{{ p.url }}">{{ p.title }}</a></li>
|
||||||
|
{% endfor %}
|
||||||
|
</ul>
|
||||||
|
|
7
pages/authors/daniel-hladek/author.md
Normal file
7
pages/authors/daniel-hladek/author.md
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
---
|
||||||
|
title: Daniel Hladek
|
||||||
|
author: Daniel Hladek
|
||||||
|
---
|
||||||
|
|
||||||
|
Duis cotidieque an vel, ex impetus suscipit consetetur duo. Mutat vivendo ex sit! Eu quas iusto putant eum, amet modo vix ne, ne nam habeo inimicus? An civibus intellegat ius, etiam invidunt dignissim vix an, habeo vocent ocurreret in ius! Ei nec augue populo, decore accusamus cotidieque nec an. Ne vis unum nusquam, pertinax sententiae quaerendum his in!
|
||||||
|
|
21
pages/authors/default.md
Normal file
21
pages/authors/default.md
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
---
|
||||||
|
title: Authors
|
||||||
|
redirect: 'taxonomy?name=author'
|
||||||
|
|
||||||
|
content:
|
||||||
|
items: @self.children
|
||||||
|
|
||||||
|
cache_enable: false
|
||||||
|
twig_first: true
|
||||||
|
process:
|
||||||
|
markdown: false
|
||||||
|
twig: true
|
||||||
|
---
|
||||||
|
|
||||||
|
<h1>Authors</h1>
|
||||||
|
<ul>
|
||||||
|
{% for p in page.collection %}
|
||||||
|
<li><a href="{{ p.url }}">{{ p.title }}</a></li>
|
||||||
|
{% endfor %}
|
||||||
|
</ul>
|
||||||
|
|
@ -1,36 +0,0 @@
|
|||||||
---
|
|
||||||
title: Záverečné práce a projekty
|
|
||||||
published: true
|
|
||||||
---
|
|
||||||
|
|
||||||
# Záverečné práce na KEMT
|
|
||||||
|
|
||||||
Wiki stánka pre spoluprácu na záverečných prácach.
|
|
||||||
|
|
||||||
- [Vyhľadaj prácu alebo tému](../search)
|
|
||||||
- [Často kladené otázky](/info/faq)
|
|
||||||
- [Ako odovzdám výsledky](/info/submit)
|
|
||||||
- [Ako napíšem záverečnú prácu](/info/akopisat)
|
|
||||||
|
|
||||||
|
|
||||||
## Oznamy
|
|
||||||
|
|
||||||
- 28.1.2020 budú predobhajoby záverečných prác.
|
|
||||||
- [Pokyny KEMT](http://kemt.fei.tuke.sk/studium/diplomova-praca/organizacne-pokyny-k-predmetu-timovy-projekt-v-st-programe-pocitacove-siete-2019-2020/) k predmetu Tímový projekt 2019.
|
|
||||||
- [Pokyny KEMT](http://kemt.fei.tuke.sk/studium/bachelor-works/organizacne-pokyny-k-predmetom-bakalarsky-projekt-a-bakalarska-praca-v-st-programe-pocitacove-siete-v-sk-r-2019-2020/) k predmetu Bakalársky projekt 2019.
|
|
||||||
|
|
||||||
## Projekty
|
|
||||||
|
|
||||||
- [Spracovanie prirodzeného jazyka](/topics/nlp)
|
|
||||||
- [Podpora slovenčiny v knižnici Spacy](/topics/spacy)
|
|
||||||
- [Anotácia textových korpusov](/topics/prodigy)
|
|
||||||
- [Rozpoznávanie pomenovaných entít](/topics/named-entity)
|
|
||||||
- [Dialógový systém](/topics/chatbot)
|
|
||||||
|
|
||||||
|
|
||||||
## Predmety
|
|
||||||
|
|
||||||
- [Bakalárske práce 2020](/teachers/hladek/bp2020)
|
|
||||||
- [Diplomové práce 2021](/teachers/hladek/dp2021)
|
|
||||||
- [Bakalárske práce 2019](/teachers/hladek/bp2019)
|
|
||||||
|
|
@ -1,6 +1,10 @@
|
|||||||
---
|
---
|
||||||
title: Záverečné práce a projekty
|
title: Záverečné práce a projekty
|
||||||
published: true
|
published: true
|
||||||
|
taxonomy:
|
||||||
|
category: [info]
|
||||||
|
tag: [zp]
|
||||||
|
author: Daniel Hladek
|
||||||
---
|
---
|
||||||
|
|
||||||
# Ako písať záverečnú prácu
|
# Ako písať záverečnú prácu
|
32
pages/home/default.md
Normal file
32
pages/home/default.md
Normal file
@ -0,0 +1,32 @@
|
|||||||
|
---
|
||||||
|
title: Záverečné práce a projekty
|
||||||
|
published: true
|
||||||
|
date: 01-02-2014
|
||||||
|
taxonomy:
|
||||||
|
category: [info]
|
||||||
|
tag: [tag1]
|
||||||
|
author: Daniel Hladek
|
||||||
|
---
|
||||||
|
|
||||||
|
# Záverečné práce na KEMT
|
||||||
|
|
||||||
|
Wiki stánka pre spoluprácu na záverečných prácach.
|
||||||
|
|
||||||
|
- [Často kladené otázky](/info/faq)
|
||||||
|
- [Ako napíšem záverečnú prácu](/info/akopisat)
|
||||||
|
|
||||||
|
## Predmety
|
||||||
|
|
||||||
|
- [Bakalárske práce 2020](/categories/bp2020)
|
||||||
|
- [Diplomové práce 2021](/categories/dp2021)
|
||||||
|
|
||||||
|
## Projekty
|
||||||
|
|
||||||
|
- [Spracovanie prirodzeného jazyka](/topics/nlp)
|
||||||
|
- [Podpora slovenčiny v knižnici Spacy](/topics/spacy)
|
||||||
|
- [Anotácia textových korpusov](/topics/prodigy)
|
||||||
|
- [Rozpoznávanie pomenovaných entít](/topics/named-entity)
|
||||||
|
- [Dialógový systém](/topics/chatbot)
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -1,3 +1,10 @@
|
|||||||
|
---
|
||||||
|
published: true
|
||||||
|
taxonomy:
|
||||||
|
category: [info]
|
||||||
|
tag: [zp]
|
||||||
|
author: Daniel Hladek
|
||||||
|
---
|
||||||
# Často kladené otázky
|
# Často kladené otázky
|
||||||
|
|
||||||
## Pre koho to je?
|
## Pre koho to je?
|
||||||
@ -32,7 +39,6 @@ Každý prihlásený používateľ ma svoj osobný profil, za ktorý je zodpoved
|
|||||||
|
|
||||||
## Ako upravím stránky cez webové rozhranie
|
## Ako upravím stránky cez webové rozhranie
|
||||||
|
|
||||||
|
|
||||||
Prihláste sa na katedrový systém GIT. Vyhľadajte repozitár [KEMT/zpwiki](https://git.kemt.fei.tuke.sk/KEMT/zpwiki). Do tohto repozitára môžte vykonávať zmeny pomocou webového editora, kotrý Vám uľahčí prácu s formátom Markdown.
|
Prihláste sa na katedrový systém GIT. Vyhľadajte repozitár [KEMT/zpwiki](https://git.kemt.fei.tuke.sk/KEMT/zpwiki). Do tohto repozitára môžte vykonávať zmeny pomocou webového editora, kotrý Vám uľahčí prácu s formátom Markdown.
|
||||||
|
|
||||||
|
|
@ -1,24 +0,0 @@
|
|||||||
# Ako zapíšem výsledky záverečnej práce
|
|
||||||
|
|
||||||
Najprv si prečítajte [Často kladené otázky](../faq).
|
|
||||||
|
|
||||||
|
|
||||||
## Ako si vytvorím osobný profil?
|
|
||||||
|
|
||||||
Vytvoríte si stránku s názvom:
|
|
||||||
|
|
||||||
/students/2017/jan_hrasko
|
|
||||||
|
|
||||||
`jan_hrasko` je Vase meno a priezvisko bez diakritiky , `2017` je rok keď ste začali študovať.
|
|
||||||
|
|
||||||
Do osobného profilu pridajte tieto informácie:
|
|
||||||
|
|
||||||
- Vaše meno
|
|
||||||
- Rok začiatku štúdia
|
|
||||||
- Meno vedúceho záverečnej práce
|
|
||||||
- Názov záverečnej práce
|
|
||||||
- Zadanie záverečnej práce
|
|
||||||
- Odkaz na vytvorené texty a zdrojové súbory
|
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -1,3 +1,11 @@
|
|||||||
|
---
|
||||||
|
title: Dárius Lindvai
|
||||||
|
published: true
|
||||||
|
taxonomy:
|
||||||
|
category: [dp2021,bp2019]
|
||||||
|
tag: [nn,interpunction,nlp]
|
||||||
|
author: Daniel Hladek
|
||||||
|
---
|
||||||
# Dárius Lindvai
|
# Dárius Lindvai
|
||||||
Rok začiatku štúdia: 2016
|
Rok začiatku štúdia: 2016
|
||||||
|
|
||||||
|
@ -1,3 +1,11 @@
|
|||||||
|
---
|
||||||
|
title: Dominik Nagy
|
||||||
|
published: true
|
||||||
|
taxonomy:
|
||||||
|
category: [dp2021,bp2019]
|
||||||
|
tag: [translation,nlp]
|
||||||
|
author: Daniel Hladek
|
||||||
|
---
|
||||||
# Dominik Nagy
|
# Dominik Nagy
|
||||||
|
|
||||||
*Rok začiatku štúdia*: 2016
|
*Rok začiatku štúdia*: 2016
|
||||||
|
@ -1,3 +1,11 @@
|
|||||||
|
---
|
||||||
|
title: Ediz Morochovič
|
||||||
|
published: true
|
||||||
|
taxonomy:
|
||||||
|
category: [bp2019]
|
||||||
|
tag: [ner,nlp]
|
||||||
|
author: Daniel Hladek
|
||||||
|
---
|
||||||
# Ediz Morochovič
|
# Ediz Morochovič
|
||||||
|
|
||||||
Rok začiatku štúdia: 2016
|
Rok začiatku štúdia: 2016
|
@ -1,7 +1,14 @@
|
|||||||
|
---
|
||||||
|
title: Jakub Maruniak
|
||||||
|
published: true
|
||||||
|
taxonomy:
|
||||||
|
category: [dp2021,bp2019]
|
||||||
|
tag: [spacy,ner,nlp]
|
||||||
|
author: Daniel Hladek
|
||||||
|
---
|
||||||
# Jakub Maruniak
|
# Jakub Maruniak
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
*Rok začiatku štúdia*: 2016
|
*Rok začiatku štúdia*: 2016
|
||||||
|
|
||||||
## Diplomový projekt 2
|
## Diplomový projekt 2
|
||||||
|
@ -1,3 +1,11 @@
|
|||||||
|
---
|
||||||
|
title: Ján Holp
|
||||||
|
published: true
|
||||||
|
taxonomy:
|
||||||
|
category: [dp2021,bp2019]
|
||||||
|
tag: [ir,nlp]
|
||||||
|
author: Daniel Hladek
|
||||||
|
---
|
||||||
# Ján Holp
|
# Ján Holp
|
||||||
|
|
||||||
*Rok začiatku štúdia*: 2016
|
*Rok začiatku štúdia*: 2016
|
||||||
|
@ -1,4 +1,11 @@
|
|||||||
|
---
|
||||||
|
title: Lukáš Pokrývka
|
||||||
|
published: true
|
||||||
|
taxonomy:
|
||||||
|
category: [dp2021,bp2019]
|
||||||
|
tag: [gpu,cloud]
|
||||||
|
author: Daniel Hladek
|
||||||
|
---
|
||||||
# Lukáš Pokrývka
|
# Lukáš Pokrývka
|
||||||
|
|
||||||
*Rok začiatku štúdia:* 2016
|
*Rok začiatku štúdia:* 2016
|
||||||
@ -153,4 +160,4 @@ Keďže som mal problém skript s plným korpusom spustiť na školskom serveri,
|
|||||||
|
|
||||||
*2. Natrénovanie slovenského modelu pomocou knižnice fasttext*
|
*2. Natrénovanie slovenského modelu pomocou knižnice fasttext*
|
||||||
|
|
||||||
Ako druhú možnosť na natrénovanie slovenského modelu som využil fasttext, knižnicu od Facebook-u. Prostredie a všetky dependencies som si vytvoril pomocou Anacondy. Následne som si naklonoval projekt z gitu (https://github.com/facebookresearch/fastText.git). Fasstext poskytuje jednoduchý nástroj na vyčistenie dát, ktorý všetky slová pretransformuje na lowercase a oddelí ich od čiarok, bodiek, atď... Následne je potrebné správne nastaviť spúšťacie parametre a zvoliť si metódu CBOW alebo skip-gram. V mojom prípade som zvolil 2-gram, dimenzionalitu vektorov 200, a nastavil som počet epochov na 10, pomocou ktorých sa vhybovosť výrazne znížila. Taktiež je možné nastaviť, koľko jadier procesora sa má využívať pre multi-threading. Na dátach o veľkosti približne 13GB trvalo trénovanie takmer 24 hodín. Výstupom su 2 súbory *.bin a *.vec. Prvý súbor obsahuje celý natrénovaný model a môže byť ďalej používaný a načítavaný podľa potreby, druhý súbor obsahuje vektory slov, jeden riadok pre každé slovo.
|
Ako druhú možnosť na natrénovanie slovenského modelu som využil fasttext, knižnicu od Facebook-u. Prostredie a všetky dependencies som si vytvoril pomocou Anacondy. Následne som si naklonoval projekt z gitu (https://github.com/facebookresearch/fastText.git). Fasstext poskytuje jednoduchý nástroj na vyčistenie dát, ktorý všetky slová pretransformuje na lowercase a oddelí ich od čiarok, bodiek, atď... Následne je potrebné správne nastaviť spúšťacie parametre a zvoliť si metódu CBOW alebo skip-gram. V mojom prípade som zvolil 2-gram, dimenzionalitu vektorov 200, a nastavil som počet epochov na 10, pomocou ktorých sa vhybovosť výrazne znížila. Taktiež je možné nastaviť, koľko jadier procesora sa má využívať pre multi-threading. Na dátach o veľkosti približne 13GB trvalo trénovanie takmer 24 hodín. Výstupom su 2 súbory *.bin a *.vec. Prvý súbor obsahuje celý natrénovaný model a môže byť ďalej používaný a načítavaný podľa potreby, druhý súbor obsahuje vektory slov, jeden riadok pre každé slovo.
|
||||||
|
@ -1,3 +1,11 @@
|
|||||||
|
---
|
||||||
|
title: Maroš Harahus
|
||||||
|
published: true
|
||||||
|
taxonomy:
|
||||||
|
category: [dp2021,bp2019]
|
||||||
|
tag: [spacy,nlp]
|
||||||
|
author: Daniel Hladek
|
||||||
|
---
|
||||||
# Maroš Harahus
|
# Maroš Harahus
|
||||||
|
|
||||||
## Diplomový projekt 2 2020
|
## Diplomový projekt 2 2020
|
||||||
@ -5,7 +13,7 @@
|
|||||||
Stretnutie 25.9.2020
|
Stretnutie 25.9.2020
|
||||||
|
|
||||||
Stav:
|
Stav:
|
||||||
- chyba pri použití príkazu pretrain, kotrá sa objavila s novou verziou Spacy
|
- chyba pri použití príkazu pretrain, ktorá sa objavila s novou verziou Spacy
|
||||||
|
|
||||||
Úlohy do ďalšieho stretnutia:
|
Úlohy do ďalšieho stretnutia:
|
||||||
- pokračovať so starou verziou Spacy (2.2)
|
- pokračovať so starou verziou Spacy (2.2)
|
||||||
|
@ -1,3 +1,11 @@
|
|||||||
|
---
|
||||||
|
title: Patrik Pavlišin
|
||||||
|
published: true
|
||||||
|
taxonomy:
|
||||||
|
category: [dp2021,bp2019]
|
||||||
|
tag: [translation,nlp]
|
||||||
|
author: Daniel Hladek
|
||||||
|
---
|
||||||
# Patrik Pavlišin
|
# Patrik Pavlišin
|
||||||
|
|
||||||
|
|
||||||
|
@ -1,3 +1,11 @@
|
|||||||
|
---
|
||||||
|
title: Tomáš Kuchárik
|
||||||
|
published: true
|
||||||
|
taxonomy:
|
||||||
|
category: [dp2021]
|
||||||
|
tag: [annotation,question_answer,nlp]
|
||||||
|
author: Daniel Hladek
|
||||||
|
---
|
||||||
# Tomáš Kuchárik
|
# Tomáš Kuchárik
|
||||||
(študent KPI)
|
(študent KPI)
|
||||||
|
|
||||||
|
@ -1,3 +1,11 @@
|
|||||||
|
---
|
||||||
|
title: Dmytro Ushatenko
|
||||||
|
published: true
|
||||||
|
taxonomy:
|
||||||
|
category: [bp2020]
|
||||||
|
tag: [chatobot,demo,nlp]
|
||||||
|
author: Daniel Hladek
|
||||||
|
---
|
||||||
# Dmytro Ushatenko
|
# Dmytro Ushatenko
|
||||||
|
|
||||||
## Bakalárska práca 2020
|
## Bakalárska práca 2020
|
||||||
@ -37,4 +45,4 @@ Pomôcka pre začínajúcich študentov:
|
|||||||
V druom semestri:
|
V druom semestri:
|
||||||
|
|
||||||
- pripravíte si celé demo
|
- pripravíte si celé demo
|
||||||
- dookončíte prácu
|
- dookončíte prácu
|
||||||
|
@ -1,9 +1,10 @@
|
|||||||
---
|
---
|
||||||
title: Martin Jancura
|
title: Martin Jancura
|
||||||
|
published: true
|
||||||
taxonomy:
|
taxonomy:
|
||||||
type: student
|
category: [bp2021]
|
||||||
start_year: 2017
|
tag: [demo,nlp]
|
||||||
teacher: hladek
|
author: Daniel Hladek
|
||||||
---
|
---
|
||||||
|
|
||||||
# Martin Jancura
|
# Martin Jancura
|
||||||
|
@ -1 +0,0 @@
|
|||||||
# Peter Maľar
|
|
@ -1,3 +1,11 @@
|
|||||||
|
---
|
||||||
|
title: Stanislav Matsunych
|
||||||
|
published: true
|
||||||
|
taxonomy:
|
||||||
|
category: [bp2020]
|
||||||
|
tag: [nn,lm,nlp]
|
||||||
|
author: Daniel Hladek
|
||||||
|
---
|
||||||
# Stanislav Matsunych
|
# Stanislav Matsunych
|
||||||
|
|
||||||
## Bakalárska práca 2019
|
## Bakalárska práca 2019
|
||||||
|
@ -1,3 +1,11 @@
|
|||||||
|
---
|
||||||
|
title: Than Trung Thanh
|
||||||
|
published: true
|
||||||
|
taxonomy:
|
||||||
|
category: [bp2021]
|
||||||
|
tag: [demo,nlp]
|
||||||
|
author: Daniel Hladek
|
||||||
|
---
|
||||||
# Than Trung Thanh
|
# Than Trung Thanh
|
||||||
|
|
||||||
## Bakalársky projekt 2020
|
## Bakalársky projekt 2020
|
||||||
|
@ -1,37 +0,0 @@
|
|||||||
---
|
|
||||||
title: Vzorový študent 2017
|
|
||||||
taxonomy:
|
|
||||||
type: student
|
|
||||||
start_year: 2017
|
|
||||||
teacher: hladek
|
|
||||||
---
|
|
||||||
|
|
||||||
# Vzorový študent
|
|
||||||
|
|
||||||
Šablónu skopírujte do Vášho osobného profilu. Do hlavného nadpisu dajte Vaše meno. Nahraďte obyčajný text podľa inštrukcií, zvýraznený text a nadpisy nechajte ako sú.
|
|
||||||
|
|
||||||
*Rok začiatku štúdia*: uveďte rok začiatku štúdia.
|
|
||||||
|
|
||||||
Môžte pridať odkaz na Vašu osobnú stránku, fotografiu alebo zoznam Vašich osodných alebo odborných záujmov.
|
|
||||||
|
|
||||||
## Bakalárska práca 2019
|
|
||||||
|
|
||||||
*Názov bakalárskej práce*: Napíšte názov bakalárskej práce
|
|
||||||
|
|
||||||
*Meno vedúceho*: meno vedúceho
|
|
||||||
|
|
||||||
*Zadanie bakalárskej práce*: Tu napíšte zadanie Vašej bakalárskej práce
|
|
||||||
|
|
||||||
## Bakalársky projekt 2019
|
|
||||||
|
|
||||||
*Písomná práca* : [Názov písomnej práce](./bakalarsky_projekt) tu doplnte odkaz na Váš vypracovaný text.
|
|
||||||
|
|
||||||
*Výstupy bakalárskeho projektu*:
|
|
||||||
|
|
||||||
- odkaz na zdrojové kódy, ak sú nejaké
|
|
||||||
|
|
||||||
*Poznámky*:
|
|
||||||
|
|
||||||
- poznámky k vypracovaniu projektu (od vedúceho alebo Vaše), môžte ich dať aj ako podnadpis.
|
|
||||||
- užitočné odkazy, literatúra, nástroje
|
|
||||||
|
|
@ -1,16 +0,0 @@
|
|||||||
# Vzorový článok z Bakalárskeho projektu
|
|
||||||
|
|
||||||
Vysvetlite:
|
|
||||||
|
|
||||||
- na akej téme pracujete
|
|
||||||
- aký problém riešite
|
|
||||||
- aké prostriedky na riešenie sú k dispozícii
|
|
||||||
- aké prostriedky ste si zvolili na riešenie
|
|
||||||
- aké dáta ste spracovávali
|
|
||||||
- ako riešite zadaný problém
|
|
||||||
- aké výsledky ste dosiahli
|
|
||||||
|
|
||||||
Uveďte zoznam relevantnej odbornej literatúry
|
|
||||||
|
|
||||||
Uveďte aj odkaz na zdrojové kódy ktoré ste vytvorili
|
|
||||||
|
|
@ -1,3 +1,11 @@
|
|||||||
|
---
|
||||||
|
title: Martin Wencel
|
||||||
|
published: true
|
||||||
|
taxonomy:
|
||||||
|
category: [2018,bp2021]
|
||||||
|
tag: [demo,nlp]
|
||||||
|
author: Daniel Hladek
|
||||||
|
---
|
||||||
# Martin Wencel
|
# Martin Wencel
|
||||||
|
|
||||||
Rok začiatku štúdia: 2018
|
Rok začiatku štúdia: 2018
|
||||||
|
@ -1,3 +1,11 @@
|
|||||||
|
---
|
||||||
|
title: Oleh Bilykh
|
||||||
|
published: true
|
||||||
|
taxonomy:
|
||||||
|
category: [2018,bp2021]
|
||||||
|
tag: [demo,nlp]
|
||||||
|
author: Daniel Hladek
|
||||||
|
---
|
||||||
# Oleh Bilykh
|
# Oleh Bilykh
|
||||||
|
|
||||||
*Začiatok štúdia: 2018*
|
*Začiatok štúdia: 2018*
|
||||||
|
@ -1,3 +1,11 @@
|
|||||||
|
---
|
||||||
|
title: Ondrej Megela
|
||||||
|
published: true
|
||||||
|
taxonomy:
|
||||||
|
category: [2018,bp2021]
|
||||||
|
tag: [nlp]
|
||||||
|
author: Daniel Hladek
|
||||||
|
---
|
||||||
# Ondrej Megela
|
# Ondrej Megela
|
||||||
|
|
||||||
Začiatok štúdia: 2018
|
Začiatok štúdia: 2018
|
||||||
|
@ -1,3 +1,12 @@
|
|||||||
|
---
|
||||||
|
title: Samuel Širotník
|
||||||
|
published: true
|
||||||
|
date: 01-02-2014
|
||||||
|
taxonomy:
|
||||||
|
category: [2018,bp2021]
|
||||||
|
tag: [raspberrypi,cloud]
|
||||||
|
author: Daniel Hladek
|
||||||
|
---
|
||||||
# Samuel Širotník
|
# Samuel Širotník
|
||||||
|
|
||||||
Rok začiatku štúdia: 2018
|
Rok začiatku štúdia: 2018
|
||||||
|
5
pages/taxonomy/taxonomy.md
Normal file
5
pages/taxonomy/taxonomy.md
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
title: By Taxonomy
|
||||||
|
|
||||||
|
cache_enable: false
|
||||||
|
---
|
@ -1,26 +0,0 @@
|
|||||||
---
|
|
||||||
title: "Témy a projekty"
|
|
||||||
cache_enable: false
|
|
||||||
process:
|
|
||||||
markdown: false
|
|
||||||
twig: true
|
|
||||||
content:
|
|
||||||
items: "@self.children"
|
|
||||||
order:
|
|
||||||
by: date
|
|
||||||
dir: dest
|
|
||||||
---
|
|
||||||
|
|
||||||
<h2>Predmety</h2>
|
|
||||||
<ul>
|
|
||||||
{% for p in page.collection %}
|
|
||||||
<li><a href="{{ p.url }}">{{ p.title }}</a></li>
|
|
||||||
{% endfor %}
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
<h2>Študenti</h2>
|
|
||||||
<ul>
|
|
||||||
{% for student in taxonomy.findTaxonomy({'teacher':'hladek'}) %}
|
|
||||||
<li><a href="{{ student.url }}">{{ student.title }}</a> </li>
|
|
||||||
{% endfor %}
|
|
||||||
</ul>
|
|
@ -1,5 +1,10 @@
|
|||||||
---
|
---
|
||||||
title: Dialógový systém
|
title: Dialógový systém
|
||||||
|
published: true
|
||||||
|
taxonomy:
|
||||||
|
category: [project]
|
||||||
|
tag: [chatbot,nlp]
|
||||||
|
author: Daniel Hladek
|
||||||
---
|
---
|
||||||
|
|
||||||
# Chatbot
|
# Chatbot
|
||||||
|
@ -1,3 +1,11 @@
|
|||||||
|
---
|
||||||
|
title: Morfologická analýza slovenského jayzka
|
||||||
|
published: true
|
||||||
|
taxonomy:
|
||||||
|
category: [project]
|
||||||
|
tag: [pos,nlp]
|
||||||
|
author: Daniel Hladek
|
||||||
|
---
|
||||||
# Morfologická analýza slovenského jayzka
|
# Morfologická analýza slovenského jayzka
|
||||||
|
|
||||||
|
|
||||||
|
@ -1,5 +1,10 @@
|
|||||||
---
|
---
|
||||||
title: Pomenované entity
|
title: Pomenované entity
|
||||||
|
published: true
|
||||||
|
taxonomy:
|
||||||
|
category: [project]
|
||||||
|
tag: [ner,nlp]
|
||||||
|
author: Daniel Hladek
|
||||||
---
|
---
|
||||||
|
|
||||||
# Pomenované entity
|
# Pomenované entity
|
||||||
|
@ -1,6 +1,10 @@
|
|||||||
---
|
---
|
||||||
title: Spracovanie prirodzeného jazyka
|
title: Spracovanie prirodzeného jazyka
|
||||||
published: true
|
published: true
|
||||||
|
taxonomy:
|
||||||
|
category: [project]
|
||||||
|
tag: [nlp]
|
||||||
|
author: Daniel Hladek
|
||||||
---
|
---
|
||||||
|
|
||||||
# Spracovanie prirodzeného jazyka
|
# Spracovanie prirodzeného jazyka
|
||||||
|
@ -1,6 +1,10 @@
|
|||||||
---
|
---
|
||||||
title: Anotácia textových dát
|
title: Anotácia textových dát
|
||||||
published: true
|
published: true
|
||||||
|
taxonomy:
|
||||||
|
category: [project]
|
||||||
|
tag: [annotation,ner,question-answer,nlp]
|
||||||
|
author: Daniel Hladek
|
||||||
---
|
---
|
||||||
|
|
||||||
# Anotácia textových dát
|
# Anotácia textových dát
|
||||||
|
@ -1,5 +1,10 @@
|
|||||||
---
|
---
|
||||||
title: Jazyk Python
|
title: Jazyk Python
|
||||||
|
published: true
|
||||||
|
taxonomy:
|
||||||
|
category: [project]
|
||||||
|
tag: [python]
|
||||||
|
author: Daniel Hladek
|
||||||
---
|
---
|
||||||
# Jazyk Python
|
# Jazyk Python
|
||||||
|
|
||||||
|
@ -1,3 +1,11 @@
|
|||||||
|
---
|
||||||
|
title: Question Answering
|
||||||
|
published: true
|
||||||
|
taxonomy:
|
||||||
|
category: [project]
|
||||||
|
tag: [annotation,question-answer,nlp]
|
||||||
|
author: Daniel Hladek
|
||||||
|
---
|
||||||
# Question Answering
|
# Question Answering
|
||||||
|
|
||||||
[Project repository](https://git.kemt.fei.tuke.sk/dano/annotation) (private)
|
[Project repository](https://git.kemt.fei.tuke.sk/dano/annotation) (private)
|
||||||
|
@ -1,3 +1,11 @@
|
|||||||
|
---
|
||||||
|
title: Slovenské jazykové zdroje
|
||||||
|
published: true
|
||||||
|
taxonomy:
|
||||||
|
category: [project]
|
||||||
|
tag: [annotation,ner,pos,question-answer,nlp]
|
||||||
|
author: Daniel Hladek
|
||||||
|
---
|
||||||
# Slovenské jazykové zdroje
|
# Slovenské jazykové zdroje
|
||||||
|
|
||||||
### POS
|
### POS
|
||||||
|
@ -1,5 +1,10 @@
|
|||||||
---
|
---
|
||||||
title: Prepis postupností
|
title: Prepis postupností
|
||||||
|
published: true
|
||||||
|
taxonomy:
|
||||||
|
category: [project]
|
||||||
|
tag: [nn,nlp]
|
||||||
|
author: Daniel Hladek
|
||||||
---
|
---
|
||||||
# Sequence to sequence
|
# Sequence to sequence
|
||||||
|
|
||||||
|
@ -1,5 +1,10 @@
|
|||||||
---
|
---
|
||||||
title: Spacy
|
title: Spacy
|
||||||
|
published: true
|
||||||
|
taxonomy:
|
||||||
|
category: [project]
|
||||||
|
tag: [spacy,nn,pos,ner,annotation,nlp]
|
||||||
|
author: Daniel Hladek
|
||||||
---
|
---
|
||||||
# Podpora slovenčiny v knižnici Spacy
|
# Podpora slovenčiny v knižnici Spacy
|
||||||
[Trénovanie modelov Spacy](https://spacy.io/usage/training)
|
[Trénovanie modelov Spacy](https://spacy.io/usage/training)
|
||||||
@ -22,4 +27,4 @@ title: Spacy
|
|||||||
|
|
||||||
- [Maroš Harahus](../../../../students/2016/maros_harahus) (štatistické značkovanie)
|
- [Maroš Harahus](../../../../students/2016/maros_harahus) (štatistické značkovanie)
|
||||||
- Jozef Olekšák
|
- Jozef Olekšák
|
||||||
- [Lukáš Pokrývka](/students/2016/lukas_pokryvka) (Word Embedding Modely)
|
- [Lukáš Pokrývka](/students/2016/lukas_pokryvka) (Word Embedding Modely)
|
||||||
|
5
themes/mytheme/CHANGELOG.md
Normal file
5
themes/mytheme/CHANGELOG.md
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
# v0.1.0
|
||||||
|
## 09/30/2020
|
||||||
|
|
||||||
|
1. [](#new)
|
||||||
|
* ChangeLog started...
|
21
themes/mytheme/LICENSE
Normal file
21
themes/mytheme/LICENSE
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
The MIT License (MIT)
|
||||||
|
|
||||||
|
Copyright (c) 2020 sadf
|
||||||
|
|
||||||
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
|
of this software and associated documentation files (the "Software"), to deal
|
||||||
|
in the Software without restriction, including without limitation the rights
|
||||||
|
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
|
copies of the Software, and to permit persons to whom the Software is
|
||||||
|
furnished to do so, subject to the following conditions:
|
||||||
|
|
||||||
|
The above copyright notice and this permission notice shall be included in all
|
||||||
|
copies or substantial portions of the Software.
|
||||||
|
|
||||||
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
|
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
|
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
|
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
|
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||||
|
SOFTWARE.
|
7
themes/mytheme/README.md
Normal file
7
themes/mytheme/README.md
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
# Mytheme Theme
|
||||||
|
|
||||||
|
The **Mytheme** Theme is for [Grav CMS](http://github.com/getgrav/grav). This README.md file should be modified to describe the features, installation, configuration, and general usage of this theme.
|
||||||
|
|
||||||
|
## Description
|
||||||
|
|
||||||
|
mytheme
|
18
themes/mytheme/blueprints.yaml
Normal file
18
themes/mytheme/blueprints.yaml
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
name: Mytheme
|
||||||
|
slug: mytheme
|
||||||
|
type: theme
|
||||||
|
version: 0.1.0
|
||||||
|
description: mytheme
|
||||||
|
icon: rebel
|
||||||
|
author:
|
||||||
|
name: sadf
|
||||||
|
email: dhladek@mgial.com
|
||||||
|
homepage: https://github.com/asdf/grav-theme-mytheme
|
||||||
|
demo: http://demo.yoursite.com
|
||||||
|
keywords: grav, theme, etc
|
||||||
|
bugs: https://github.com/asdf/grav-theme-mytheme/issues
|
||||||
|
readme: https://github.com/asdf/grav-theme-mytheme/blob/develop/README.md
|
||||||
|
license: MIT
|
||||||
|
|
||||||
|
dependencies:
|
||||||
|
- { name: grav, version: '>=1.6.0' }
|
9
themes/mytheme/mytheme.php
Normal file
9
themes/mytheme/mytheme.php
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
<?php
|
||||||
|
namespace Grav\Theme;
|
||||||
|
|
||||||
|
use Grav\Common\Theme;
|
||||||
|
|
||||||
|
class Mytheme extends KnowledgeBase
|
||||||
|
{
|
||||||
|
// Access plugin events in this class
|
||||||
|
}
|
8
themes/mytheme/mytheme.yaml
Normal file
8
themes/mytheme/mytheme.yaml
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
streams:
|
||||||
|
schemes:
|
||||||
|
theme:
|
||||||
|
type: ReadOnlyStream
|
||||||
|
prefixes:
|
||||||
|
'':
|
||||||
|
- user/themes/mytheme
|
||||||
|
- user/themes/knowledge-base
|
BIN
themes/mytheme/screenshot.jpg
Normal file
BIN
themes/mytheme/screenshot.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 15 KiB |
79
themes/mytheme/templates/README.html.twig
Normal file
79
themes/mytheme/templates/README.html.twig
Normal file
@ -0,0 +1,79 @@
|
|||||||
|
{% extends 'partials/base.html.twig' %}
|
||||||
|
|
||||||
|
{% block content %}
|
||||||
|
<article>
|
||||||
|
<section class="header">
|
||||||
|
<h1>
|
||||||
|
{% if page.header.media == 'video' %}
|
||||||
|
<i class="fa fa-file-video-o rightpad"></i>
|
||||||
|
{% else %}
|
||||||
|
<i class="fa fa-file-text-o rightpad"></i>
|
||||||
|
{% endif %}
|
||||||
|
{{ page.title|e }}
|
||||||
|
</h1>
|
||||||
|
{% if (grav.theme.config.params.articles.show.date) or (grav.theme.config.params.articles.show.authors) or (grav.theme.config.params.articles.show.topics) or (grav.theme.config.params.articles.show.time) %}
|
||||||
|
<div class="details">
|
||||||
|
{% if grav.theme.config.params.articles.show.date %}
|
||||||
|
<span>{{ page.date|date("F j, Y") }}</span>
|
||||||
|
{% endif %}
|
||||||
|
{% if grav.theme.config.params.articles.show.authors %}
|
||||||
|
{% set authorlist = [] %}
|
||||||
|
{% for author in page.taxonomy['author'] %}
|
||||||
|
{# Check to see if a dedicated author page exists #}
|
||||||
|
{% set slug = author|hyphenize|url_encode %}
|
||||||
|
{% set p = page.find('/authors/'~slug) %}
|
||||||
|
{% if p == null %}
|
||||||
|
{% set authorlist = authorlist|merge(['<a href="'~base_url~'/taxonomy?name=author&val='~(author|url_encode)~'">'~author~'</a>']) %}
|
||||||
|
{% else %}
|
||||||
|
{% set authorlist = authorlist|merge(['<a href="'~base_url~'/authors/'~slug~'">'~author~'</a>']) %}
|
||||||
|
{% endif %}
|
||||||
|
{% endfor %}
|
||||||
|
<span><i class="fa fa-user"></i> {{ authorlist|join(', ') }}</span>
|
||||||
|
{% endif %}
|
||||||
|
{% if grav.theme.config.params.articles.show.topics %}
|
||||||
|
{% set catlist = [] %}
|
||||||
|
{% for cat in page.taxonomy.category %}
|
||||||
|
{% set catlist = catlist|merge(['<a href="'~base_url~'/taxonomy?name=category&val='~(cat|url_encode)~'">'~cat~'</a>']) %}
|
||||||
|
{% endfor %}
|
||||||
|
<span>{{ catlist|join(', ') }}</span>
|
||||||
|
{% endif %}
|
||||||
|
{% if grav.theme.config.params.articles.show.time %}
|
||||||
|
<span>{{ page.content|readingtime }}</span>
|
||||||
|
{% endif %}
|
||||||
|
</div>
|
||||||
|
{% endif %}
|
||||||
|
</section>
|
||||||
|
<section class="content">
|
||||||
|
{{ page.content }}
|
||||||
|
{% if not page.header.hide_mediasummary %}
|
||||||
|
<p></p>
|
||||||
|
{% for image in page.media.images %}
|
||||||
|
{{ image.cropResize(700, 400).html("title", "alt", "itemscreenshot") }}
|
||||||
|
{% endfor %}
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
|
</section>
|
||||||
|
<section class="foot">
|
||||||
|
{% if page.taxonomy.tag|length > 0 %}
|
||||||
|
{% set taglist = [] %}
|
||||||
|
{% for tag in page.taxonomy.tag %}
|
||||||
|
{% set taglist = taglist|merge(['<a href="'~base_url~'/taxonomy?name=tag&val='~(tag|url_encode)~'">'~tag~'</a>']) %}
|
||||||
|
{% endfor %}
|
||||||
|
<div class="tags">
|
||||||
|
<i class="fa fa-tags rightpad"></i>{{ taglist|join(', ') }}
|
||||||
|
</div>
|
||||||
|
{% endif %}
|
||||||
|
{% if config.plugins.relatedpages.enabled and related_pages|length > 0 %}
|
||||||
|
<div class="related topiclist">
|
||||||
|
<h2>{{ 'RELATED_ARTICLES'|t }}</h2>
|
||||||
|
{% include 'partials/relatedpages.html.twig' %}
|
||||||
|
</div>
|
||||||
|
{% endif %}
|
||||||
|
</section>
|
||||||
|
{% if config.plugins.comments.enabled %}
|
||||||
|
<section class="comments">
|
||||||
|
<h2>{{ 'COMMENTS'|t }}</h2>
|
||||||
|
</section>
|
||||||
|
{% endif %}
|
||||||
|
</article>
|
||||||
|
{% endblock %}
|
BIN
themes/mytheme/thumbnail.jpg
Normal file
BIN
themes/mytheme/thumbnail.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 3.6 KiB |
Loading…
Reference in New Issue
Block a user