Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Anthony Larcher
sidepipe
Commits
067be5f7
Commit
067be5f7
authored
May 04, 2016
by
Anthony Larcher
Browse files
package structure
parents
Pipeline
#40
skipped
Changes
3
Pipelines
1
Expand all
Hide whitespace changes
Inline
Side-by-side
.idea/vcs.xml
0 → 100644
View file @
067be5f7
<?xml version="1.0" encoding="UTF-8"?>
<project
version=
"4"
>
<component
name=
"VcsDirectoryMappings"
>
<mapping
directory=
"$PROJECT_DIR$"
vcs=
"Git"
/>
</component>
</project>
\ No newline at end of file
sstream.py
0 → 100644
View file @
067be5f7
This diff is collapsed.
Click to expand it.
utils.py
0 → 100644
View file @
067be5f7
# -*- coding: utf-8 -*-
#
# This file is part of SIDEPIPE.
#
# SIDEPIPE is a python package for speaker verification.
# Home page: http://www-lium.univ-lemans.fr/sidekit/
#
# SIDEPIPE is a python package for acoustic parametrization for speaker verification.
# Home page: http://www-lium.univ-lemans.fr/sidekit/
#
# SIDEPIPE is free software: you can redistribute it and/or modify
# it under the terms of the GNU LLesser General Public License as
# published by the Free Software Foundation, either version 3 of the License,
# or (at your option) any later version.
#
# SIDEPIPE is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Lesser General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public License
# along with SIDEPIPE. If not, see <http://www.gnu.org/licenses/>.
"""
Copyright 2016 Anthony Larcher
"""
def
coroutine
(
func
):
"""
Decorator that allows to forget about the first call of a coroutine .next()
method or .send(None)
This call is done inside the decorator
:param func: the coroutine to decorate
"""
def
start
(
*
args
,
**
kwargs
):
cr
=
func
(
*
args
,
**
kwargs
)
next
(
cr
)
return
cr
return
start
\ No newline at end of file
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment