Giter VIP home page Giter VIP logo

replacewordscommand's Introduction

ReplaceWordsCommand

文字列の一括置換をコマンドで処理するCプログラム.改良予定.

仕様

  • 現行ではトークンレベルでの一括置換を行う.
  • 置換リストファイルの名称は「ReplaceList.txt」で固定.
    • 書き方にルールがあり,「置換前->置換後」の形式で行を追加していく.
    • 1行目はアトリビュートを置く.
  • 上限は256で一括置換可能.
  • 置換する文書ファイルは標準入力で指定.
    • 動作確認できている対応拡張子は「.txt」,「.md」.
  • 置換後の文書ファイルは,「(文書ファイル名)_replaced.(文書ファイル拡張子)」で出力される.

実行例

  • Doc.txt(置換前の文書ファイル)
In human robot conversation in a real environment, low 
speech recognition and unnatural response generation 
are critical issues. Most of autonomous conversational 
robotic systems avoid these issues by restricting user 
input and robot responses. However, such restrictions 
often make the interaction be boring because they are 
easy to predict a plot for a conversation.This paper 
proposes using multiple robots as a solution of this 
problem.
  • ReplaceList.txt
置換前->置換後
system->SYSTEM
responses->RESPONSES
robot->MACHINE
  • コマンド実行
$ ./replacetokens
Input FileName of Document: Doc.txt
Outputted: Doc_replaced.txt
$ 
  • Doc_replaced.txt
In human MACHINE conversation in a real environment, low 
speech recognition and unnatural response generation 
are critical issues. Most of autonomous conversational 
robotic systems avoid these issues by restricting user 
input and MACHINE RESPONSES. However, such restrictions 
often make the interaction be boring because they are 
easy to predict a plot for a conversation.This paper 
proposes using multiple robots as a solution of this 
problem.

今後の改良

  • トークンレベルではなく,文字列中であっても置換できるように実装し直す.

replacewordscommand's People

Contributors

kagenomoheji avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.