Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Read Sphinx output and create struct #36

Open
wants to merge 76 commits into
base: master
Choose a base branch
from

Conversation

anoshaminai
Copy link

@sandlerben @roornelas

This PR is an extension of #26 - the function to run the command is now fixed in this PR, but I can also fix it in #26 if that's less confusing. There are two main new things: 1) StartTranscription runs a command and returns a string which is the output file name where the output is stored and 2) the func transcriptionOutputToStruct was created which reads a file (with the output) and creates a go struct.

Anosha Minai and others added 26 commits March 13, 2016 20:35
…iption-service into run-sphinx-command-line

Merging in remote changes
Basic UI for starting a job
@rachelhongca rachelhongca mentioned this pull request Apr 9, 2016
@anoshaminai
Copy link
Author

@sandlerben Addressed comments, also I thought I addressed conflicts but apparently not. When I call 'git merge origin/master' it says everything is up to date - what else do I need to do?

@hack4impactadmin
Copy link

Did you fetch first?

On Thu, May 19, 2016, 7:35 PM Anosha Minai [email protected] wrote:

@sandlerben https://github.com/sandlerben Addressed comments, also I
thought I addressed conflicts but apparently not. When I call 'git merge
origin/master' it says everything is up to date - what else do I need to do?

You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
#36 (comment)

You received this message because you are subscribed to the Google Groups
"hack4impact-exec-2016-17" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to [email protected].
To post to this group, send email to
[email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/hack4impact-exec-2016-17/hack4impact/transcribe4all/pull/36/c220477418%40github.com
https://groups.google.com/d/msgid/hack4impact-exec-2016-17/hack4impact/transcribe4all/pull/36/c220477418%40github.com?utm_medium=email&utm_source=footer
.
For more options, visit https://groups.google.com/d/optout.

@sandlerben
Copy link
Member

Also I think the account situation is a little messed up I'll fix it later.

On Thu, May 19, 2016, 8:35 PM hack4impactadmin [email protected]
wrote:

Did you fetch first?

On Thu, May 19, 2016, 7:35 PM Anosha Minai [email protected]
wrote:

@sandlerben https://github.com/sandlerben Addressed comments, also I
thought I addressed conflicts but apparently not. When I call 'git merge
origin/master' it says everything is up to date - what else do I need to
do?

You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
<
#36 (comment)

You received this message because you are subscribed to the Google Groups
"hack4impact-exec-2016-17" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to [email protected].
To post to this group, send email to
[email protected].
To view this discussion on the web visit

https://groups.google.com/d/msgid/hack4impact-exec-2016-17/hack4impact/transcribe4all/pull/36/c220477418%40github.com
<
https://groups.google.com/d/msgid/hack4impact-exec-2016-17/hack4impact/transcribe4all/pull/36/c220477418%40github.com?utm_medium=email&utm_source=footer

.
For more options, visit https://groups.google.com/d/optout.


You are receiving this because you were mentioned.

Reply to this email directly or view it on GitHub
#36 (comment)

@anoshaminai
Copy link
Author

@sandlerben Okay all fixed! I moved the Sphinx stuff into a sphinx.go folder, I need to add the MakeSphinxTaskFunction method but I will do that in a separate PR. Let me know what you think and then I'll merge.


// SphinxTranscription transcribes a given file using Sphinx.
// File name should not include the type extension.
func SphinxTranscription(fileName string) (Transcription, error) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Change to TranscribeWithShinx?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fileName -> filePath to be consistent with other code

@sandlerben
Copy link
Member

Added a few comments, besides that lgtm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants