1
1
mirror of https://github.com/leon-ai/leon.git synced 2024-11-28 12:43:35 +03:00

feat(package/trend): expressions dataset and structure

This commit is contained in:
Louistiti 2019-03-23 08:32:38 +08:00
parent 82ebbee568
commit f54c2272b4
17 changed files with 109 additions and 0 deletions

21
packages/trend/README.md Normal file
View File

@ -0,0 +1,21 @@
# Trend Package
The trend package contains modules related to trends.
## Modules
### GitHub
WIP...
#### Usage
WIP...
### Product Hunt
WIP...
#### Usage
WIP...

View File

View File

View File

@ -0,0 +1,8 @@
{
"github": {
"options": {}
},
"producthunt": {
"options": {}
}
}

View File

View File

View File

@ -0,0 +1,6 @@
{
"github": {
},
"producthunt": {
}
}

View File

@ -0,0 +1,6 @@
{
"github": {
},
"producthunt": {
}
}

View File

View File

View File

@ -0,0 +1,19 @@
{
"github": [
"What are the trends on GitHub?",
"Give me the GitHub trends",
"What's trending on GitHub?",
"What are the trends on GH?",
"Give me the GH trends",
"What's trending on GH?"
],
"producthunt": [
"What are the trends on Product Hunt?",
"Give me the Product Hunt trends",
"What's trending on Product Hunt?",
"What are the trends on PH?",
"Give me the PH trends",
"What's trending on PH?",
"What's trending on ProductHunt?"
]
}

View File

@ -0,0 +1,18 @@
{
"github": [
"Quelles sont les tendances sur GitHub ?",
"Donne-moi les tendances GitHub",
"Qu'est-ce qu'il y a en tendance sur GitHub ?",
"Quelles sont les tendances sur GH ?",
"Donne-moi les tendances GH",
"Qu'est-ce qu'il y a en tendance sur GH ?"
],
"producthunt": [
"Quelles sont les tendances sur Product Hunt ?",
"Donne-moi les tendances Product Hunt",
"Qu'est-ce qu'il y a en tendance sur Product Hunt ?",
"Quelles sont les tendances sur PH ?",
"Donne-moi les tendances PH",
"Qu'est-ce qu'il y a en tendance sur PH ?"
]
}

10
packages/trend/github.py Normal file
View File

@ -0,0 +1,10 @@
#!/usr/bin/env python
# -*- coding:utf-8 -*-
import requests
import utils
def github(string, entities):
"""WIP..."""
return utils.output('end', 'done')

View File

@ -0,0 +1,10 @@
#!/usr/bin/env python
# -*- coding:utf-8 -*-
import requests
import utils
def producthunt(string, entities):
"""WIP..."""
return utils.output('end', 'done')

View File

@ -0,0 +1,5 @@
'use strict'
describe('trend:github', async () => {
})

View File

@ -0,0 +1,5 @@
'use strict'
describe('trend:producthunt', async () => {
})

View File

@ -0,0 +1 @@
1.0.0